bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14545: date --iso-8601 should use colon in time zone offset


From: Paul Eggert
Subject: bug#14545: date --iso-8601 should use colon in time zone offset
Date: Tue, 04 Jun 2013 00:10:12 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

On 06/02/2013 09:13 PM, Jordon Kalilich wrote:
> The output mostly follows the ISO 8601:2004 extended format but fails to 
> include
> a colon in the time zone offset, as required by section 4.3.2 "Complete
> representations" and section 4.3.3 "Representations other than complete."

If memory serves the --iso-8601 option conformed to ISO 8601
a while ago, but the ISO standard changed.  At any rate, the
--iso-8601 option has been deprecated since 2005.  Hmm, I
see that this has not been reflected in the documentation, so
perhaps that's the next step to take for this option, on its
way out the door.

You can get the effect you want, with the command

date +'%Y-%m-%dT%H:%M:%S.%N%:z'





reply via email to

[Prev in Thread] Current Thread [Next in Thread]