mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(General date syntax): Don't say that date
date --iso-8601=ns generates acceptable dates; it doesn't yet.
This commit is contained in:
1 parent
4b1117eedf
commit
41e07fd117
1 file changed
+2
-2
+2
-2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user