Re: [PATCH] Support output ISO 8601 format dates
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 15, 2007, 22:14 UTC
- Message-ID
- <7vveclco10.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070715212359.GB18293@efreet.light.src>
Jan Hudec <bulb@ucw.cz> writes:
Show 5 quoted lines
> I apologise for nitpicking, but ISO 8601 (and RFC 3339) says separator between > date and time is 'T' and there is no separator between time and timezone. So > this should be > ... > ISO 8601 makes separators optional, so simple 4-digit timezone is OK.
My reading of 8601 was that it is allowed to drop [T] as long as it is clear from the context by agreement between the parties involved, although I admit the only copy I have handy is JIS X0301 (2002), which is matching Japanese industrial standard that consists of translation of ISO 8601 (2000) plus Japanese "emperor's era" extensions.