This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25018 - "Four or more ASCII digits, at least one of which is not U+0030 DIGIT ZERO (0)" <- shouldn't this explicitly say that this indicates a year?
Summary: "Four or more ASCII digits, at least one of which is not U+0030 DIGIT ZERO (0...
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-12 13:17 UTC by contributor
Modified: 2014-04-10 22:18 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2014-03-12 13:17:25 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html
Multipage: http://www.whatwg.org/C#the-time-element
Complete: http://www.whatwg.org/c#the-time-element
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
"Four or more ASCII digits, at least one of which is not U+0030 DIGIT ZERO
(0)" <- shouldn't this explicitly say that this indicates a year?

Posted from: 37.153.219.162
User agent: Mozilla/5.0 (X11; Linux i686; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24
Comment 1 Ian 'Hixie' Hickson 2014-04-10 22:18:58 UTC
This is the part giving the syntax, not the meaning. The part giving the meaning is immediately after it, where it says (for years) "...the machine-readable equivalent is the base-ten interpretation of those digits, representing a year".

(This might become moot if I add <input type=year> (bug 25315) since then I might have a year data type I can refer to. I don't want to add one just for this though, IMHO it'd be confusing.)