[Bug 29496] [FO31] parse-ietf-date with military timezones and leniency towards single-digit numbers

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29496

--- Comment #7 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
I'd like to suggest to disallow 130 and to allow 1:30, 01:30 and 0130. I don't
think anyone would expect military time (which I believe this format comes
from) to be other than four digits.

That would mean a slight change in the production rules, for instance:

tzoffset ::= ("+"|"-") (hours (":" minutes)? | miltime)

miltime         ::=     milhours minutes
milhours        ::=     digit digit
hours           ::=     digit digit?
minutes         ::=     digit digit

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 27 April 2016 17:50:02 UTC