diff options
author | Ed Santiago <ed@edsantiago.com> | 2007-02-23 16:11:01 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-02-23 16:11:01 +0100 |
commit | 54bdcc09ae15fd063002fff33e9ea920b5187379 (patch) | |
tree | 21ec6ece363a2917ccb46cb1e7d67b0103a1ea3c | |
parent | cb121d8f3683e81cf51c8f0c7a28dfa58ae68fa8 (diff) | |
download | coreutils-54bdcc09ae15fd063002fff33e9ea920b5187379.tar.xz |
* src/date.c (usage): Mention that --rfc-3339 uses space, not 'T',
for a separator. Include sample RFC 2822 and 3339 output.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/date.c | 5 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-02-23 Ed Santiago <ed@edsantiago.com> + + * src/date.c (usage): Mention that --rfc-3339 uses space, not 'T', + for a separator. Include sample RFC 2822 and 3339 output. + 2007-02-23 Jim Meyering <jim@meyering.net> With -Dlint, make shuf free all heap-allocated storage. diff --git a/src/date.c b/src/date.c index c4e159e42..3b256157e 100644 --- a/src/date.c +++ b/src/date.c @@ -142,10 +142,13 @@ Display the current time in the given FORMAT, or set the system date.\n\ "), stdout); fputs (_("\ -r, --reference=FILE display the last modification time of FILE\n\ - -R, --rfc-2822 output date and time in RFC 2822 format\n\ + -R, --rfc-2822 output date and time in RFC 2822 format.\n\ + Example: Mon, 07 Aug 2006 12:34:56 -0600\n\ --rfc-3339=TIMESPEC output date and time in RFC 3339 format.\n\ TIMESPEC=`date', `seconds', or `ns' for\n\ date and time to the indicated precision.\n\ + Date and time components are separated by\n\ + a single space: 2006-08-07 12:34:56-06:00\n\ -s, --set=STRING set time described by STRING\n\ -u, --utc, --universal print or set Coordinated Universal Time\n\ "), stdout); |