summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-01-03 00:43:19 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-01-03 00:43:19 +0000
commit7d9fe7fa8ed43eae226e464f9946236c429df739 (patch)
tree5235d6a44ffc6dc2cd6dc123c175e4924111fbce /src
parentba05f7eeffa49b766a614ade1a32ec86ba67d4ce (diff)
downloadcoreutils-7d9fe7fa8ed43eae226e464f9946236c429df739.tar.xz
(usage): Explain %g, %G, and %V a bit better.
Diffstat (limited to 'src')
-rw-r--r--src/date.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/date.c b/src/date.c
index 9a9163565..c1506e434 100644
--- a/src/date.c
+++ b/src/date.c
@@ -1,5 +1,5 @@
/* date - print or set the system date and time
- Copyright (C) 1989-2005 Free Software Foundation, Inc.
+ Copyright (C) 1989-2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -173,8 +173,8 @@ specifies Coordinated Universal Time. Interpreted sequences are:\n\
"), stdout);
fputs (_("\
%F full date; same as %Y-%m-%d\n\
- %g the last two digits of the year corresponding to the %V week number\n\
- %G the year corresponding to the %V week number\n\
+ %g last two digits of year of ISO week number (see %G)\n\
+ %G year of ISO week number (see %V); normally useful only with %V\n\
"), stdout);
fputs (_("\
%h same as %b\n\
@@ -204,10 +204,10 @@ specifies Coordinated Universal Time. Interpreted sequences are:\n\
%u day of week (1..7); 1 is Monday\n\
"), stdout);
fputs (_("\
- %U week number of year with Sunday as first day of week (00..53)\n\
- %V week number of year with Monday as first day of week (01..53)\n\
+ %U week number of year, with Sunday as first day of week (00..53)\n\
+ %V ISO week number, with Monday as first day of week (01..53)\n\
%w day of week (0..6); 0 is Sunday\n\
- %W week number of year with Monday as first day of week (00..53)\n\
+ %W week number of year, with Monday as first day of week (00..53)\n\
"), stdout);
fputs (_("\
%x locale's date representation (e.g., 12/31/99)\n\