On 2006-03-21T09:39-0700 Bob Proulx wrote: > Kai Hendry wrote: > > What's happened to iso-8601 in the man page? > As of upstream coreutils 5.90 the NEWS says: > date accepts the new option --rfc-3339=TIMESPEC. The old --iso-8602 (-I) > option is deprecated; it still works, but new applications should avoid it.
Why should I avoid it? > date, du, ls, and pr's time formats now support new %:z, %::z, %:::z > specifiers for numeric time zone offsets like -07:00, -07:00:00, and -07. I didn't know about `pr`. I am a big fan boy of iso-8601 and I've implemented it in several of my projects. Has rfc-3339 superseded iso-8601? http://www.rfc-archive.org/getrfc.php?rfc=3339 mentions rfc-3339 being a profile of iso-8601. Whatever that means. Lets compare. Iso8601 has no whitespace and it's shorter. sam$ date --iso-8601=seconds 2006-03-22T12:33:45+0900 sam$ date --rfc-3339=seconds 2006-03-22 12:33:31+09:00 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]