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 13336 - Why is <date itemprop="when">2011-07-23</date> disallowed?
Summary: Why is <date itemprop="when">2011-07-23</date> disallowed?
Status: RESOLVED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML Microdata (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-23 15:32 UTC by contributor
Modified: 2011-08-04 05:05 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2011-07-23 15:32:45 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.html
Multipage: http://www.whatwg.org/C#values
Complete: http://www.whatwg.org/c#values

Comment:
Why is <date itemprop="when">2011-07-23</date> disallowed?

Posted from: 81.234.240.242
User agent: Opera/9.80 (X11; Linux x86_64; U; Edition Next; en) Presto/2.9.181 Version/12.00
Comment 1 Philip Jägenstedt 2011-07-23 15:34:34 UTC
"If a property's value represents a date, time, or global date and time, the property must be specified using the datetime attribute of a time element."

Only requiring that a time element is used seems more appropriate, as in some cases the text content of <time> is already on the form YYYY-MM-DD and thus doesn't need to be overridden using datetime="".
Comment 2 Philip Jägenstedt 2011-07-26 15:06:20 UTC
On second thought the entire constraint is weird, filed http://www.w3.org/Bugs/Public/show_bug.cgi?id=13370 instead
Comment 3 Michael[tm] Smith 2011-08-04 05:05:49 UTC
mass-move component to LC1