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 6294 - Date microsyntax defines incorrect range for month and day fields
Summary: Date microsyntax defines incorrect range for month and day fields
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-10 09:17 UTC by Lachlan Hunt
Modified: 2010-10-04 13:54 UTC (History)
4 users (show)

See Also:


Attachments

Description Lachlan Hunt 2008-12-10 09:17:31 UTC
The definition for the date microsyntaxes specify months and days using the wrong range:

"Two digits, representing the month month, in the range 0 ≤ month ≤ 12"

"Two digits, representing day, in the range 0 ≤ day ≤ maxday where maxday is the number of days in the month month and year year"

Both those 0's should be changed to 1's.
Comment 1 Olivier Gendrin 2008-12-15 14:09:22 UTC
Not if the 0 means 'unknown'. But that should be mentioned.
Comment 2 Maciej Stachowiak 2010-03-14 13:16:00 UTC
This bug predates the HTML Working Group Decision Policy.

If you are satisfied with the resolution of this bug, please change the state of this bug to CLOSED. If
you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

This bug is now being moved to VERIFIED. Please respond within two weeks. If this bug is not closed, reopened or escalated within two weeks, it may be marked as NoReply and will no longer be considered a pending comment.