From: Paul Eggert Date: Wed, 11 May 2005 20:24:42 +0000 (+0000) Subject: (General date syntax): Don't say that date X-Git-Tag: CPPI-1_12~831 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=41e07fd117ccd0cf379fd86d26be125abd7a82f2;p=thirdparty%2Fcoreutils.git (General date syntax): Don't say that date date --iso-8601=ns generates acceptable dates; it doesn't yet. --- diff --git a/doc/getdate.texi b/doc/getdate.texi index 2a7fbab950..3cc543704c 100644 --- a/doc/getdate.texi +++ b/doc/getdate.texi @@ -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.