summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-07-24 08:33:21 +0000
committerJim Meyering <jim@meyering.net>2002-07-24 08:33:21 +0000
commitd1f42de11516f6d4b94036dda250b1ef2917b735 (patch)
treee788c6bf935c09043aceb9b991d10fef476dd9a4 /doc
parentce7a9483a9dacff1748300c3de85437ae2aca92f (diff)
downloadcoreutils-d1f42de11516f6d4b94036dda250b1ef2917b735.tar.xz
(Time directives): Document %P, %R, %e, %F, %g, %G, and %V
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi21
1 files changed, 20 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 0505adfa9..147788681 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -10164,9 +10164,13 @@ minute (00@dots{}59)
@item %N
nanoseconds (000000000@dots{}999999999)
@item %p
-locale's AM or PM
+locale's upper case @samp{AM} or @samp{PM} (blank in many locales)
+@item %P
+locale's lower case @samp{am} or @samp{pm} (blank in many locales)
@item %r
time, 12-hour (hh:mm:ss [AP]M)
+@item %R
+time, 24-hour (hh:mm). Same as @code{%H:%M}.
@item %s
@cindex epoch, seconds since
@cindex seconds since the epoch
@@ -10219,6 +10223,21 @@ century (year divided by 100 and truncated to an integer) (00@dots{}99)
day of month (01@dots{}31)
@item %D
date (mm/dd/yy)
+@item %e
+blank-padded day of month (1@dots{}31)
+@item %F
+the @w{ISO 8601} standard date format: @code{%Y-%m-%d}.
+This is the preferred form for all uses.
+@item %g
+The year corresponding to the ISO week number, but without the century
+(range @code{00} through @code{99}). This has the same format and value
+as @code{%y}, except that if the ISO week number (see @code{%V}) belongs
+to the previous or next year, that year is used instead.
+@item %G
+The year corresponding to the ISO week number. This has the same format
+and value as @code{%Y}, except that if the ISO week number (see
+@code{%V}) belongs to the previous or next year, that year is used
+instead.
@item %h
same as %b
@item %j