bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59827: [PATCH] info date to be explicit about the date formats


From: Marc Chantreux
Subject: bug#59827: [PATCH] info date to be explicit about the date formats
Date: Sun, 4 Dec 2022 22:06:48 +0100

hello coreutils maintainers,

I would like info page of the date to be explicit about
the ready to use date formats so users can pick them as
example for their own ones (as example: just remove the
timezone information).

regards,
marc

---
 doc/coreutils.texi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index c801097..8c24b52 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -16559,18 +16559,23 @@ terms of the time to include.  It can be one of the 
following:
 @table @samp
 @item auto
 Print just the date.  This is the default if @var{timespec} is omitted.
+("%Y-%m-%d")
 
 @item hours
 Append the hour of the day to the date.
+("%Y-%m-%dT%H%:z")
 
 @item minutes
 Append the hours and minutes.
+("%Y-%m-%dT%H:%M%:z")
 
 @item seconds
 Append the hours, minutes and seconds.
+("%Y-%m-%dT%H:%M:%S%:z")
 
 @item ns
 Append the hours, minutes, seconds and nanoseconds.
+("%Y-%m-%dT%H:%M:%S,%N%:z")
 @end table
 
 If showing any time terms, then include the time zone using the format
-- 
2.34.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]