GNU bug report logs - #59827
[PATCH] info date to be explicit about the date formats

Previous Next

Package: coreutils;

Reported by: Marc Chantreux <mc <at> unistra.fr>

Date: Sun, 4 Dec 2022 23:18:02 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#59827: closed ([PATCH] info date to be explicit about the
 date formats)
Date: Tue, 06 Dec 2022 02:44:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 5 Dec 2022 18:43:43 -0800
with message-id <d6a18bc2-cbda-66cc-90ba-b095bfc7c0c6 <at> cs.ucla.edu>
and subject line Re: bug#59827: [PATCH] info date to be explicit about the date formats
has caused the debbugs.gnu.org bug report #59827,
regarding [PATCH] info date to be explicit about the date formats
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
59827: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59827
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Marc Chantreux <mc <at> unistra.fr>
To: bug-coreutils <at> gnu.org
Subject: [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



[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Marc Chantreux <mc <at> unistra.fr>
Cc: 59827-done <at> debbugs.gnu.org
Subject: Re: bug#59827: [PATCH] info date to be explicit about the date formats
Date: Mon, 5 Dec 2022 18:43:43 -0800
[Message part 4 (text/plain, inline)]
Thanks for the suggestion. I installed the attached which isn't exactly 
what you sent but which implements the basic idea.
[0001-doc-improve-date-I-doc.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 169 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.