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"

Submitted by:  None
Submitted on:  Fri 04 Jul 2008 10:11:38 PM UTC  
Votes:  253  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned 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?



No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 253 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 23 Jul 2013 04:27:57 AM UTCpaulandersonCarbon-Copy-=>Added paulanderson
    Thu 28 Mar 2013 10:49:25 AM UTCmihaicCarbon-Copy-=>Added mihaic
    Mon 05 Jul 2010 07:03:24 AM UTCdajokerCarbon-Copy-=>Added dajoker
    Sat 05 Dec 2009 01:32:03 PM UTCsamgeeCarbon-Copy-=>Added samgee
    Fri 27 Mar 2009 05:21:03 PM UTCbrianpeirisCarbon-Copy-=>Added brianpeiris
    Fri 13 Feb 2009 12:40:37 PM UTChelix84Carbon-Copy-=>Added helix84

    Back to the top

    Powered by Savane 3.1-cleanup1