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 17926 - "A valid non-negative integer representing a year" allows <time>0</time>, and the associated parsing algorithm step interprets it as year 0, which is inconsistent with all the other date-parsing algorithms that reject year 0
Summary: "A valid non-negative integer representing a year" allows <time>0</time>, and...
Status: RESOLVED FIXED
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: 2012-07-18 07:18 UTC by contributor
Modified: 2012-10-05 22:50 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2012-07-18 07:18:18 UTC
This was was cloned from bug 16651 as part of operation convergence.
Originally filed: 2012-04-06 16:22:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-04-06 16:22:32 +0000 
--------------------------------------------------------------------------------
Specification: 
Multipage: http://www.whatwg.org/C#the-time-element
Complete: http://www.whatwg.org/c#the-time-element

Comment:
"A valid non-negative integer representing a year" allows <time>0</time>, and
the associated parsing algorithm step interprets it as year 0, which is
inconsistent with all the other date-parsing algorithms that reject year 0

Posted from: 86.185.44.58
User agent: Opera/9.80 (X11; Linux x86_64; U; en-GB) Presto/2.10.229 Version/11.60
================================================================================
Comment 1 contributor 2012-10-05 22:50:28 UTC
Checked in as WHATWG revision r7435.
Check-in comment: Make the year-only format for <time> more in line with how it works elsewhere.
http://html5.org/tools/web-apps-tracker?from=7434&to=7435