Folks,

Not critical, but the date command's --date option won't accept date's own 
ISO formatted output:

login[~]> date --date="`date --iso-8601=seconds`"
date: invalid date `2001-06-27T12:21:43+0100'


It appears that the T is the problem.  --date works fine if the T is 
replaced with a space:

login[~]> date --date="2001-06-27 12:21:43+0100"
Wed Jun 27 12:21:43 BST 2001


Some version information:

login[~]> uname -a
Linux login 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown

login[~]> date --version
date (GNU sh-utils) 2.0
Written by David MacKenzie.

Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Thanks,

Jon.


_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to