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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59827 in the body.
You can then email your comments to 59827 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#59827; Package coreutils. (Sun, 04 Dec 2022 23:18:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marc Chantreux <mc <at> unistra.fr>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sun, 04 Dec 2022 23:18:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Tue, 06 Dec 2022 02:44:01 GMT) Full text and rfc822 format available.

Notification sent to Marc Chantreux <mc <at> unistra.fr>:
bug acknowledged by developer. (Tue, 06 Dec 2022 02:44:01 GMT) Full text and rfc822 format available.

Message #10 received at 59827-done <at> debbugs.gnu.org (full text, mbox):

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 1 (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)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 03 Jan 2023 12:24:07 GMT) Full text and rfc822 format available.

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.