bug-coreutils
[Top][All Lists]
Advanced

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

Re: XML-like date/time support ?


From: Jim Meyering
Subject: Re: XML-like date/time support ?
Date: Sun, 08 Jan 2006 21:50:22 +0100

Philip Rowlands <address@hidden> wrote:
> (Note to maintainers - %Z does not appear separately in the 5.93
> manpage. I don't know enough texinfo or troff to suggest a fix, sorry.)

Thanks.
I've just fixed that:

        * src/date.c (usage): Adjust the formatting of the entries for
        %::z and %:::z (separate with two spaces, not one) so that help2man
        formats them properly.  Reported by Philip Rowlands.

Index: src/date.c
===================================================================
RCS file: /fetish/cu/src/date.c,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -p -u -r1.161 -r1.162
--- src/date.c  3 Jan 2006 00:43:19 -0000       1.161
+++ src/date.c  8 Jan 2006 20:45:54 -0000       1.162
@@ -218,8 +218,8 @@ specifies Coordinated Universal Time.  I
       fputs (_("\
   %z   +hhmm numeric timezone (e.g., -0400)\n\
   %:z  +hh:mm numeric timezone (e.g., -04:00)\n\
-  %::z +hh:mm:ss numeric time zone (e.g., -04:00:00)\n\
-  %:::z numeric time zone with : to necessary precision (e.g., -04, +05:30)\n\
+  %::z  +hh:mm:ss numeric time zone (e.g., -04:00:00)\n\
+  %:::z  numeric time zone with : to necessary precision (e.g., -04, +05:30)\n\
   %Z   alphabetic time zone abbreviation (e.g., EDT)\n\
 \n\
 By default, date pads numeric fields with zeroes.\n\




reply via email to

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