[whatwg] Parsing RFC3339 constructs

Ian Hickson ian at hixie.ch
Sat Apr 25 13:09:13 PDT 2009


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list