]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
date(1): Add "-R" flag to use RFC 2822 date and time output format [MFC]
authordumbbell <dumbbell@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 3 May 2014 14:04:04 +0000 (14:04 +0000)
committerdumbbell <dumbbell@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 3 May 2014 14:04:04 +0000 (14:04 +0000)
commit197296c60234a51a7365d11b5d8f55f76cf83bb0
treea5a658dd8f3bb12c703a2f28f10cd5bb3ffccaf1
parentd80bfc4c02e7c2223a4c4f687aa16bed0e64c4e3
date(1): Add "-R" flag to use RFC 2822 date and time output format [MFC]

As stated in the man page, this is equivalent to use "%a, %d %b %Y %T %z"
as the output format while LC_TIME is set to the "C" locale.

This is compatible with date(1) from the GNU core utilities.

This is an MFC of r264968 and r264970.

git-svn-id: svn://svn.freebsd.org/base/stable/9@265266 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bin/date/date.1
bin/date/date.c