summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-05-11 20:24:42 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-05-11 20:24:42 +0000
commit41e07fd117ccd0cf379fd86d26be125abd7a82f2 (patch)
tree1a0373a4b7d87d61fcdad2e0e937fb405b220417 /doc
parent4b1117eedff66ae51437dbd9386a04efe27a6e22 (diff)
downloadcoreutils-41e07fd117ccd0cf379fd86d26be125abd7a82f2.tar.xz
(General date syntax): Don't say that date
date --iso-8601=ns generates acceptable dates; it doesn't yet.
Diffstat (limited to 'doc')
-rw-r--r--doc/getdate.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/getdate.texi b/doc/getdate.texi
index 2a7fbab95..3cc543704 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.