Hello,
To convert a date into the full ISO-8601 format one can do this:
$ date --iso-8601=seconds --date "sun oct 1 5:45:02PM"
It will correctly returns:
2006-10-01T17:45:02+0200
But when we want to convert a ISO-8601 formated date into a man readable format:
$ date --date "2006-10-01T17:45:02"
Returns:
Sun Oct 1 12:45:02 CEST 2006
$ date --date "2006-10-01T17:45:02+0200"
Returns
date: invalid date `2006-10-01T17:45:02+0200'
Obviously, the full ISO-8601 format is not accepted as date input format.
Any work around?
date --version --> (coreutils) 5.2.1
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils