Nic Ferrier <[EMAIL PROTECTED]> writes:

> Note the third item:
>
>      $ date --iso-8601=seconds  # a GNU extension
>      2000-12-15T11:48:05-0800

Ah, I missed that the first time.  Thanks.  I installed this patch,
in both coreutils and gnulib:

2005-05-11  Paul Eggert  <[EMAIL PROTECTED]>

        * getdate.texi (General date syntax): Don't say that date
        date --iso-8601=ns generates acceptable dates; it doesn't yet.
        Problem reported by Nic Ferrier.

--- getdate.texi        8 Dec 2004 22:25:43 -0000       1.3
+++ getdate.texi        11 May 2005 20:26:49 -0000      1.4
@@ -127,8 +127,8 @@ $ LC_ALL=C TZ=UTC0 date
 Mon Mar  1 00:21:42 UTC 2004
 $ TZ=UTC0 date +'%Y-%m-%d %H:%M:%SZ'
 2004-03-01 00:21:42Z
-$ date --iso-8601=ns  # a GNU extension
-2004-02-29T16:21:42,692722128-0800
+$ date --iso-8601=ns | tr T ' '  # --iso-8601 is a GNU extension.
+2004-02-29 16:21:42,692722128-0800
 $ date --rfc-2822  # a GNU extension
 Sun, 29 Feb 2004 16:21:42 -0800
 $ date +'%Y-%m-%d %H:%M:%S %z'  # %z is a GNU extension.


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to