bugGNU Core Utilities - Bugs: bug #23767, ISO-8601 and "date"


You are not allowed to post comments on this tracker with your current authentication level.

bug #23767: ISO-8601 and "date"

Submitter:  None
Submitted:  Fri 04 Jul 2008 10:11:38 PM UTC
Votes: 253
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Fri 04 Jul 2008 10:11:38 PM UTC, original submission:  

Sorry if I'm being dense, this seems to be an issue that comes up with some regularity.

The ISO 8601 format for date/time specifications is well-known;  in particular, it is described reasonably fully on wikipedia at http://en.wikipedia.org/wiki/ISO_8601.  RFC 2822 and RFC 3339, by contrast, do not even have Wikipedia articles, not even stubs.

It is also, I admit, the only reasonably compact format for specifying a time/date format that I know of.  "20080704T215923Z" is still somewhat human-readable, unlikely to be mistaken for a local time because the "T" and "Z" are exotic enough to stop people just making assumptions about how to interpret the string, the format allows alphabetic sorting ...

In short, I don't see what's wrong with it and I'm interminably confused by the fact that it's not date's default format.  But it isn't even supported as an input format for -d!  There is an --iso-8601 option, but it's undocumented!

What's up with this?  Is it some sort of politically motivated campaign?  If there actually were any harm in understanding, at least, the week-number-free "T"-separated date/time string with a "Z" suffix, shouldn't that at least be documented somewhere?



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by paulanderson (Voted in favor of this item)
  • -email is unavailable- added by mihaic (Voted in favor of this item)
  • -email is unavailable- added by dajoker (Voted in favor of this item)
  • -email is unavailable- added by samgee (Voted in favor of this item)
  • -email is unavailable- added by brianpeiris (Voted in favor of this item)
  • -email is unavailable- added by helix84 (Voted in favor of this item)

    There are 253 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-07-23 paulanderson Carbon-Copy- Added paulanderson
    2013-03-28 mihaic Carbon-Copy- Added mihaic
    2010-07-05 dajoker Carbon-Copy- Added dajoker
    2009-12-05 samgee Carbon-Copy- Added samgee
    2009-03-27 brianpeiris Carbon-Copy- Added brianpeiris
    2009-02-13 helix84 Carbon-Copy- Added helix84

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code