W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2016

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 27 Apr 2016 17:49:59 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29496-523-mlcSMa3H89@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:00 UTC