summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenoƮt Knecht <benoit.knecht@fsfe.org>2011-07-07 10:55:47 +0200
committerJim Meyering <meyering@redhat.com>2011-07-07 14:01:50 +0200
commit88bdce982a99238b5320eca4e19d86fd364419ee (patch)
tree9f4a919fe7666a2982e0017ebade7ff3e61e21e9 /src
parent473b4fc1e8842ad99f544832683699539da5828d (diff)
downloadcoreutils-88bdce982a99238b5320eca4e19d86fd364419ee.tar.xz
doc: note date's %k, %l are space-padded and equivalent to %_H and %_I
* src/date.c (usage): As above, for --help. * doc/coreutils.texi (Time conversion specifiers): Likewise. Reported by Britton Leo Kerin in http://bugs.debian.org/115833.
Diffstat (limited to 'src')
-rw-r--r--src/date.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/date.c b/src/date.c
index 6439d165a..755736ab6 100644
--- a/src/date.c
+++ b/src/date.c
@@ -179,8 +179,8 @@ FORMAT controls the output. Interpreted sequences are:\n\
%j day of year (001..366)\n\
"), stdout);
fputs (_("\
- %k hour ( 0..23)\n\
- %l hour ( 1..12)\n\
+ %k hour, space padded ( 0..23); same as %_H\n\
+ %l hour, space padded ( 1..12); same as %_I\n\
%m month (01..12)\n\
%M minute (00..59)\n\
"), stdout);