summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2008-06-05 18:33:26 -0600
committerJim Meyering <meyering@redhat.com>2008-06-06 08:22:02 +0200
commit74c0bfbc4cf0b38c9c8af7b018f8bbff60da6767 (patch)
tree645edd30430315b666385d968585689d32e82c63
parent80213bc66d5b532f47cce96e98e2c29c27ec2487 (diff)
downloadcoreutils-74c0bfbc4cf0b38c9c8af7b018f8bbff60da6767.tar.xz
improve 'date +%C' documentation
* src/date.c (usage): Use 20, not 21, for current century. * THANKS: Update. Reported by Dameon G. Rogers, fix suggested by Philip Rowlands. Signed-off-by: Eric Blake <ebb9@byu.net>
-rw-r--r--THANKS2
-rw-r--r--src/date.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/THANKS b/THANKS
index feaf46332..cb9b09808 100644
--- a/THANKS
+++ b/THANKS
@@ -110,6 +110,7 @@ Cray-Cyber Project http://www.cray-cyber.org
Cristian Cadar cristic@stanford.edu
Cyril Bouthors cyril@bouthors.org
Dale Scheetz dwarf@polaris.net
+Dameon G. Rogers dgr03@uark.edu
Dan Hagerty hag@gnu.ai.it.edu
Dan Jacobson http://www.geocities.com/jidani
Dan Pascu dan@services.iiruc.ro
@@ -434,6 +435,7 @@ Peter Seebach seebs@taniemarie.solon.com
Petter Reinholdtsen pere@hungry.com
Phelippe Neveu pneveu@pcigeomatics.com
Phil Richards phil.richards@vf.vodafone.co.uk
+Philip Rowlands phr@doc.ic.ac.uk
Philippe De Muyter phdm@macqel.be
Philippe Schnoebelen Philippe.Schnoebelen@imag.fr
Phillip Jones mouse@datastacks.com
diff --git a/src/date.c b/src/date.c
index 86b322540..aa4d69dcb 100644
--- a/src/date.c
+++ b/src/date.c
@@ -166,7 +166,7 @@ specifies Coordinated Universal Time. Interpreted sequences are:\n\
%c locale's date and time (e.g., Thu Mar 3 23:05:25 2005)\n\
"), stdout);
fputs (_("\
- %C century; like %Y, except omit last two digits (e.g., 21)\n\
+ %C century; like %Y, except omit last two digits (e.g., 20)\n\
%d day of month (e.g, 01)\n\
%D date; same as %m/%d/%y\n\
%e day of month, space padded; same as %_d\n\