(General date syntax): Add --rfc-2822 option to GNU date.

This commit is contained in:
Jim Meyering committed 2003-08-01 22:38:36 +00:00
1 parent 6f2002699e
commit cd5b47646f
1 file changed
+1 -1
+1 -1
View File
@@ -122,7 +122,7 @@ $ TZ=UTC0 date +"%Y-%m-%d %H:%M:%SZ"
2000-12-15 19:48:05Z
$ date --iso-8601=seconds # a GNU extension
2000-12-15T11:48:05-0800
$ date --rfc-822 # a GNU extension
$ date --rfc-2822 # a GNU extension
Fri, 15 Dec 2000 11:48:05 -0800
$ date +"%Y-%m-%d %H:%M:%S %z" # %z is a GNU extension.
2000-12-15 11:48:05 -0800