W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2009

[whatwg] Parsing RFC3339 constructs

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 25 Apr 2009 20:09:13 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0904252009020.12381@hixie.dreamhostps.com>
On Sat, 25 Apr 2009, Michael(tm) Smith wrote:
> 
> It seems pretty clear that there isn't anything else to refer to
> for the date/time parsing rules -- but to me at least, specifying
> those rules seems orthogonal to specifying the date/time syntax,
> and I would think the syntax could just be defined by making
> reference to the productions[1] in RFC 3339 (instead of completely
> redefining them), while stating any exceptions.
> 
> [1] http://tools.ietf.org/html/rfc3339#section-5.6
> 
> I think the exceptions might just amount to:
> 
>   - the literal letters T and Z must be uppercase
> 
>   - a year must be four or more digits, and must be greater that zero

I don't understand what that would gain us.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 25 April 2009 13:09:13 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:11 UTC