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

 
 

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

bug #23767: ISO-8601 and "date"

Submitted by:  None
Submitted on:  Fri Jul 4 22:11:38 2008  
Votes:  253  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Fri Jul 4 22:11:38 2008, 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?

Anonymous

 

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 Jul 23 04:27:57 2013paulandersonCarbon-Copy-=>Added paulanderson
    Thu Mar 28 10:49:25 2013mihaicCarbon-Copy-=>Added mihaic
    Mon Jul 5 07:03:24 2010dajokerCarbon-Copy-=>Added dajoker
    Sat Dec 5 13:32:03 2009samgeeCarbon-Copy-=>Added samgee
    Fri Mar 27 17:21:03 2009brianpeirisCarbon-Copy-=>Added brianpeiris
    Fri Feb 13 12:40:37 2009helix84Carbon-Copy-=>Added helix84

    Back to the top


    Powered by Savane 3.1-cleanup