<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.whatwg.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pigsonthewing</id>
	<title>WHATWG Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.whatwg.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pigsonthewing"/>
	<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/wiki/Special:Contributions/Pigsonthewing"/>
	<updated>2026-04-29T10:13:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=10377</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=10377"/>
		<updated>2022-07-10T11:55:25Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* noon and midnight */ c&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element] (see also [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element W3C TR time snapshot]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
The time element has been improved through the research done on this page. See:&lt;br /&gt;
* [[Time element accepted|Time element: accepted proposals]]&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
== Date granularity ==&lt;br /&gt;
All Date granularity proposals have been accepted. See: [[Time element accepted]].&lt;br /&gt;
&lt;br /&gt;
== HTML5 internal consistency ==&lt;br /&gt;
=== impedance match new date time inputs ===&lt;br /&gt;
The proposal to impedance match new date time inputs was partially accepted (additional time element granularity).  See: [[Time element accepted]].&lt;br /&gt;
&lt;br /&gt;
=== inputs to impedance match new time granularity ===&lt;br /&gt;
While this could be documented on an [[input]] element page, it made sense to keep it here as it&#039;s a part of time element discussion.&lt;br /&gt;
&lt;br /&gt;
For each time element granularity, there should be a corresponding input element.&lt;br /&gt;
&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow and vice-versa. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - &amp;lt;time&amp;gt;YYYY-MM&amp;lt;/time&amp;gt; (accepted as of 2011-11-18)&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-Www&amp;lt;/time&amp;gt; (accepted as of 2011-11-18)&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY&amp;lt;/time&amp;gt; (accepted as of 2011-11-18)&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - &amp;lt;time&amp;gt;--MM-DD&amp;lt;/time&amp;gt; (accepted as of 2011-11-18)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following [[input]] elements are proposed to represent the respective time element granularity:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot;&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580-1600&amp;quot;[http://en.wikipedia.org/wiki/Basawan]), centuries, and allow eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;) in a manner to be determined; perhaps once defined by EDTF efforts.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:Javarome|Jérôme Beau]] provided that &#039;certainty&#039; attribute use a standard format as well, such as the time duration syntax :&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;P3D&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;Optionally, when uncertainty differ in past and future, a second, comma-separated duration should be interpreted as the specific future-incertainty.&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;P3D,P5D&amp;quot;&amp;gt;around 18 June 1855, up to 3 days before or 5 days later&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;  &lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* -1 [[User:Ocolon|Martin Janecke]] - I don&#039;t object to the idea of fuzzy dates in general (a well defined certainty attribute sounds interesting) but this doesn&#039;t seem to be well thought through yet. E.g. &amp;quot;bronze age&amp;quot; rather defines a stage of development of a culture than a time, just as &amp;quot;adolescence&amp;quot; does for a human. The time element could be suitable for adding markup to the term &amp;quot;bronze age&amp;quot; in a text talking about a specific culture. But you would really add markup to the term, not use this term as time markup, exactly because &amp;quot;bronze age&amp;quot; does not tell a time. Please don&#039;t make the time element too unspecific as I am afraid this would reduce its usability rather than adding to it. [[User:Ocolon|Ocolon]] 12:54, 22 August 2010 (UTC)&lt;br /&gt;
**It is not proposed to define terms like &amp;quot;bronze age&amp;quot; here; but to cater for a) any definitions emerging from the EDTF efforts and/or b) a publisher using their own definition, such as, say &amp;lt;code&amp;gt;&amp;lt;time datetime=&amp;quot;[3300-1200 BC]&amp;quot;&amp;gt;Bronze age&amp;lt;/time&amp;gt;&amp;lt;/code&amp;gt;. It&#039;s not that &amp;quot;this isn&#039;t well thought through&amp;quot; so much as &amp;quot;this is brought here for the community to think through&amp;quot;. [[User:Pigsonthewing|Pigsonthewing]] 22:34, 22 August 2010 (UTC)&lt;br /&gt;
*** I wrote &amp;quot;this doesn&#039;t seem to be well thought through &#039;&#039;&#039;yet&#039;&#039;&#039;&amp;quot;, of course implying this can change. Thanks for the details on the &amp;quot;bronze age&amp;quot; example. Should the introduction sentence to the [http://wiki.whatwg.org/index.php?title=Time_element&amp;amp;oldid=5419#Fuzzy_dates fuzzy date section] be edited to reflect this? Currently it does propose &amp;quot;bronze age&amp;quot; etc. as examples for future time values. [[User:Ocolon|Ocolon]] 01:17, 23 August 2010 (UTC)&lt;br /&gt;
****Done. [[User:Pigsonthewing|Pigsonthewing]] 11:24, 23 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* Documenting pre-Gregorian time travel in science fiction&lt;br /&gt;
**[http://www.guardian.co.uk/news/datablog/2010/aug/20/doctor-who-time-travel-information-is-beautiful Dr Who time travel]&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* 0 [[User:Ocolon|Martin Janecke]] - I&#039;m afraid the current proposal is too &amp;quot;Western World&amp;quot; centered. If you plan to allow Julian and Gregorian dates – what about the Islamic, Chinese, Hebrew, …, Mesopotamian and Mayan calenders? I don&#039;t mean to say we mustn&#039;t incorporate other calender scales – but if we do, we&#039;ll probably have to implement all of them, making things easier in some and much more complicated in many aspects. This could result in many parsers not being able to understand many of the dates, making the time element less useful. I&#039;d rather use just one scale as it is in the spec right now. The Gregorian calender is an international standard, so it should be fine. But I don&#039;t know if it is right to expect others to use &amp;quot;my&amp;quot; calendar (which the Gregorian calender is), hence the neutral vote.&lt;br /&gt;
**Dates from 2000+ years ago in non-European calendars such as those you mention can be converted to Julian calendar dates (but not Gregorian dates), just as modern dates in those calendars can be converted to the Gregorian calendar. The use of Julian extends the range of dates which can be expressed. [[User:Pigsonthewing|Pigsonthewing]] 22:40, 22 August 2010 (UTC)&lt;br /&gt;
* +1 [[User:crashposition|John Dalziel]] Non-Gregorian reckoning is common in many fields (history, archeology, geology and astronomy to name just a few). However, given that all standard temporal datatypes are derived from ISO8601 then I think we&#039;re currently stuck with Gregorian for machine-readable dates. This puts the onus on the author to make (an often error-prone) conversion to Gregorian. &lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
* Dates before the Christian/Common Era could be specified by adding an &amp;lt;code&amp;gt;era&amp;lt;/code&amp;gt; attribute that can take two values: &amp;lt;code&amp;gt;CE&amp;lt;/code&amp;gt; (Common Era) or &amp;lt;code&amp;gt;BCE&amp;lt;/code&amp;gt; (Before Common Era). If the attribute isn&#039;t present, then a default value of &amp;lt;code&amp;gt;CE&amp;lt;/code&amp;gt; is assumed. The [http://en.wikipedia.org/wiki/Calendar_era#Dionysian_.22Common_Era.22 Dionysian &amp;quot;Common Era&amp;quot;] doesn&#039;t have a &amp;quot;year 0&amp;quot; thus eliminating that potential issue.&lt;br /&gt;
** See related: [http://www.w3.org/html/wg/wiki/User:Idevlin/add_era_attribute_to_time_element add era attribute to time element] change proposal&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements =&lt;br /&gt;
&lt;br /&gt;
== permit space instead of T in datetimes ==&lt;br /&gt;
;Status&lt;br /&gt;
:[http://html5.org/r/6845 2011-12-06] &#039;&#039;&#039;Adopted in WHATWG HTML.&#039;&#039;&#039;[http://krijnhoetmer.nl/irc-logs/whatwg/20111207#l-5] &lt;br /&gt;
;Summary&lt;br /&gt;
:The date-and-time microsyntaxes should permit a single space as a separator as an alternative to &amp;quot;T&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== summary of permit date-space-time ===&lt;br /&gt;
Current date-and-time microsyntaxes require a &amp;quot;T&amp;quot; between the date and time per ISO8601:&lt;br /&gt;
 2011-12-06T13:28:00&lt;br /&gt;
&lt;br /&gt;
This proposal modifies that requirement to permit a single space (U+0020) instead of the &amp;quot;T&amp;quot;, for both better human readability and the fact that that slight modification of ISO8601 date-and-time syntax is already widely supported by various tools.&lt;br /&gt;
 2011-12-06 13:28:00&lt;br /&gt;
&lt;br /&gt;
This proposal should be applied to the &#039;datetime&#039; attribute of both the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;gt;&amp;lt;/code&amp;gt; element and the &amp;lt;code&amp;gt;&amp;amp;lt;ins&amp;gt;&amp;lt;/code&amp;gt; &amp;amp;amp; &amp;lt;code&amp;gt;&amp;amp;lt;del&amp;gt;&amp;lt;/code&amp;gt; elements.&lt;br /&gt;
&lt;br /&gt;
Inspired by the first part of [http://www.w3.org/wiki/User:Mtanalin/time_element#h-simplify-datetime this proposal by Marat Tanalin], with additional references/issues documented from [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-959 #whatwg on 2011-12-01].&lt;br /&gt;
&lt;br /&gt;
=== existing implementation support of date-space-time ===&lt;br /&gt;
Note that this specific proposal of allowing a single space instead of &amp;quot;T&amp;quot; is supported by several existing implementations:&lt;br /&gt;
* &#039;&#039;&#039;Python.&#039;&#039;&#039; The date time python module outputs &amp;quot; &amp;quot; instead of &amp;quot;T&amp;quot; for &amp;lt;code&amp;gt;[http://docs.python.org/dev/library/datetime.html#datetime.datetime.__str__ str(aDatetime)]&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &#039;&#039;&#039;Perl.&#039;&#039;&#039; &amp;quot;Perl&#039;s Date::Parse also takes dates in that format, although it&#039;s not int he documentation. But we&#039;ve been relying on it doing so, for years, in Bugzilla.&amp;quot; -mkanat [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1129]&lt;br /&gt;
* &#039;&#039;&#039;MySQL.&#039;&#039;&#039; MySQL takes and sends all its [http://dev.mysql.com/doc/refman/5.1/en/datetime.html dates in date-space-time format].&lt;br /&gt;
* &#039;&#039;&#039;postgresql&#039;&#039;&#039; &amp;quot;also accepts that format, and its commandline omits T by default as well (2011-12-06 15:27:00.706385-07)&amp;quot; -zewt [http://krijnhoetmer.nl/irc-logs/whatwg/20111206#l-1138]&lt;br /&gt;
* &#039;&#039;&#039;Javascript Date.parse method.&#039;&#039;&#039; &lt;br /&gt;
** &#039;&#039;&#039;Chrome&#039;&#039;&#039; can parse it &amp;quot;2011-11-11 11:11:11&amp;quot;.[http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1138],[http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1140]&lt;br /&gt;
** &#039;&#039;&#039;Opera&#039;&#039;&#039; [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1141]&lt;br /&gt;
** Notable exceptions that DO NOT parse it:&lt;br /&gt;
*** Firefox8 [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1136]&lt;br /&gt;
*** IE8 returns NaN[http://krijnhoetmer.nl/irc-logs/whatwg/20111206#l-1126]. However it does support the format it outputs from toString (&amp;quot;Thu Dec 1 16:10:18 EST 2011&amp;quot;)[http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1209]&lt;br /&gt;
**** also returns NaN for &amp;quot;2011-11-11T11:11:11&amp;quot;[http://krijnhoetmer.nl/irc-logs/whatwg/20111206#l-1127] - thus unclear that lack of space support is any kind of meaningful result.&lt;br /&gt;
*** IE9 returns NaN [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1199]&lt;br /&gt;
*** IE10 returns NaN [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1196]&lt;br /&gt;
*** Safari returns NaN for: &amp;lt;br/&amp;gt;&amp;lt;code&amp;gt;data:text/html,&amp;amp;lt;!doctype html&amp;gt;&amp;amp;lt;script&amp;gt;alert(Date.parse(&amp;quot;2011-11-11 11:11:11&amp;quot;))&amp;amp;lt;/script&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== date-space-time issues questions ===&lt;br /&gt;
==== gratuitous departure from ISO8601 ====&lt;br /&gt;
&amp;quot;...seems like a bit of a gratuitous departure from ISO8601&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It&#039;s not gratuitous because there are very specific reasons for it:&lt;br /&gt;
* it does help readability, incrementally&lt;br /&gt;
* we&#039;re only adopting something that&#039;s been in use for a while, that is, it&#039;s been a mod on ISO8601 in general by others.&lt;br /&gt;
&lt;br /&gt;
=== date-space-time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Marat Tanalin per [http://www.w3.org/wiki/User:Mtanalin/time_element#h-simplify-datetime].&lt;br /&gt;
* +1 [[Tantek]] - I think this will improve readability, writability, usability, and thus overall data quality for information expressed in the date-and-time microsyntax.&lt;br /&gt;
* +1 kennyluck per [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1106]. &amp;quot;I think this &amp;lt;nowiki&amp;gt;[ISO8601-with-space]&amp;lt;/nowiki&amp;gt; is the most i18n-wise human-readable format.&amp;quot;[http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1111]&lt;br /&gt;
* +1 mkanat per [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1109]&lt;br /&gt;
* +1 zewt &amp;quot;it&#039;s a natural, human format, where *T* really isn&#039;t&amp;quot; [http://krijnhoetmer.nl/irc-logs/whatwg/20111206#l-1131]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span id=&amp;quot;Syntax_improvements_for_reducing_DRY_violations&amp;quot;&amp;gt;reducing DRY violations overview&amp;lt;/span&amp;gt; == &lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
** Your statements assume Western bias (you mention 80/20, however note that 80% of the world is not Western). Your assertion of the readability of &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot; assume Western consumers. In actuality, &amp;quot;2010-08-05&amp;quot; is more human-readable and accessible *world-wide* per international W3C expert study and report (presumably greater expertise than your opinions/assertions). Your assertion that &amp;quot;international readability is irrelevant&amp;quot; is discriminatory and intolerant. I urge you to reconsider your anti-i18n position. - [[User:Tantek|Tantek]]&lt;br /&gt;
***[Belated response, as I stopped following this site a long time ago (not least because of the snide and derogatory tone of some comments, of which the above is a fine example), and only revisited by chance]. Had I said &amp;quot;international readability is irrelevant&amp;quot;, you might have a point. I did not, and you misquoted me. I actually said (emphasis added for clarity)  &amp;quot;&#039;international&#039; readability is irrelevant, &#039;&#039;&#039;&#039;&#039;when pages are otherwise in one language or another&#039;&#039;&#039;&#039;&#039;&amp;quot;. While YYYY-MM-DD format is relevant in a-lingual contexts such as code and data, &#039;&#039;when a page is in a specific language&#039;&#039; then the prose date &#039;&#039;in that language&#039;&#039; is the most accessible to its target audience (An example would be the use of &amp;quot;24 November 2011&amp;quot; on this page. In your own signature). Making the date accessible to readers of other languages - especially at the cost of reduced accessibility for the target audience - is irrelevant, if the reader cannot understand the surrounding text. Nor do I &amp;quot;assume Western bias&amp;quot;. In this case, what I said was &amp;quot;accessible prose such as, say, &#039;5 August 2010&#039; or &#039;August 5th, 2010&#039;&amp;quot;. Note the inclusion of the phrase &amp;quot;such as, say&amp;quot;, which indicates that the following examples are just that: &#039;&#039;examples&#039;&#039;. I gave my examples in English, because discussion on this page is carried out in English. But what I said holds true if the date is written in Urdu, Mandarin, Arabic, Japanese, or any other specific language. I posit that 80% of the world do not use YYYY-MM-DD dates outside of special use cases such as those I mention; and still evidence to the contrary is lacking. Nor do I hold an &amp;quot;anti-internationalisation position&amp;quot; (assuming that is what you mean by the far from internationally accessible &amp;quot;i18n&amp;quot;). Once again, I must ask you not to attempt to speak for me. My objection stands. [[User:Pigsonthewing|Andy Mabbett]] 11:49, 10 July 2022 (UTC)&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
** In addition, the ISO8601 intervals syntax are sufficiently unfriendly/unintuitive/unreadable that they&#039;ve been rejected for hCalendar in the past. This particular proposal should be evaluated on its merits independent of intervals. Intervals would need to be discussed as a separate feature. [[User:Tantek|Tantek]] 01:31, 24 November 2011 (UTC)&lt;br /&gt;
* -1 [[User:cobaco]] We have 2 pieces of information 1) the actual date (in ISO format) and 2) how we want that time displayed. Pretty much every programming language under the sun already has code to transform a particular datetime into a particular format. So how about we just add an attribute, say datetimeformat. You&#039;d then have something like:&lt;br /&gt;
&amp;lt;time datetime=&amp;quot;2011-10-02T11:23:04&amp;quot; datetimeformat=&amp;quot;%a, %e %b %Y %H:%M:%S %z&amp;quot; /&amp;gt; to get &amp;quot;Sun, 2 Oct 2011 11:23:04 +0200&amp;quot; displayed by the browser (I used a ruby strftime format specification to specify a rfc2822 datetime output, see http://ruby-doc.org/docs/ProgrammingRuby/html/ref_c_time.html#Time.strftime for how that works)&lt;br /&gt;
** Because syntaxes like &amp;quot;%a, %e %b %Y %H:%M:%S %z&amp;quot; are even more cryptic/esoteric/unreadable, and not something we&#039;d want to burden web authors/designers with. In addition, the author/designer preferred human-specific format has to be provided literally as text in order for browsers that don&#039;t support the time element to render it.  [[User:Tantek|Tantek]] 01:31, 24 November 2011 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
***Please do not rewrite or edit my comments. [[User:Pigsonthewing|Andy Mabbett]] 11:51, 10 July 2022 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
:The words &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot; may be specific to English (the language used on this page); the concepts are not. 00:00:00 is not &amp;quot;12am&amp;quot; and 12:00:00 is not &amp;quot;12pm&amp;quot;. [[User:Pigsonthewing|Andy Mabbett]] 11:55, 10 July 2022 (UTC)&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Other types of time =&lt;br /&gt;
== duration ==&lt;br /&gt;
;Status&lt;br /&gt;
:[http://html5.org/tools/web-apps-tracker?from=6826&amp;amp;to=6827 2011-11-18] &#039;&#039;&#039;Adopted in WHATWG HTML.&#039;&#039;&#039; &lt;br /&gt;
;Summary&lt;br /&gt;
:It would be great if the time element could support expressing durations as well for the use cases as needed by the [http://microformats.org/wiki/hmedia hMedia] and [http://microformats.org/wiki/haudio hAudio] microformats as well as other use-cases (Wikipedia, IMDB).&lt;br /&gt;
&lt;br /&gt;
Simple proposal:&lt;br /&gt;
&lt;br /&gt;
* Allow for also parsing the following:&lt;br /&gt;
** PnD,nH,nM,nS&lt;br /&gt;
*** where P, D, H, M, S are case-insensitive literals&lt;br /&gt;
*** P is optional&lt;br /&gt;
*** n is a fixed point number expressible with a decimal point&lt;br /&gt;
*** and the intervening commas &#039;,&#039; are optional and may be used when more than one time duration unit is given.&lt;br /&gt;
** PnDTnHnMnS (per informative reference: [http://en.wikipedia.org/wiki/ISO_8601#Durations ISO8601 duration])&lt;br /&gt;
*** where P, D, T, H, M, S are case-insensitive literals&lt;br /&gt;
*** n is a non-negative integer (with optional leading zeroes)&lt;br /&gt;
&lt;br /&gt;
Note: per discussion 2011-321 in #whatwg IRC, and explicitly noting that iCalendar RFC 5545 omits year and month durations from its subset of ISO8601 duration syntax, this proposal also omits year and month durations. Without documented examples of in-the-wild publishing weeks durations (which are present in iCalendar), they are also omitted. Documentation of real world examples may help reconsideration of weeks durations.&lt;br /&gt;
&lt;br /&gt;
=== duration examples ===&lt;br /&gt;
&amp;lt;pre&amp;gt;Typical bims are &amp;lt;time datetime=&amp;quot;P61D&amp;quot;&amp;gt;61 days&amp;lt;/time&amp;gt; long.&amp;lt;/pre&amp;gt; (source: [http://newcal.org/#bimdefinition NewCalendar bim defintion])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;The Game Has Changed&amp;quot; &amp;lt;time datetime=&amp;quot;P3M,25S&amp;quot;&amp;gt;3:25&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [https://secure.wikimedia.org/wikipedia/en/wiki/Tron:_Legacy_%28soundtrack%29#Track_listing Wikipedia: TRON:Legacy soundtrack track listing])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Length &amp;lt;time datetime=&amp;quot;P42M,59S&amp;quot;&amp;gt;42:59&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [https://secure.wikimedia.org/wikipedia/en/wiki/The_Dark_Side_of_the_Moon Wikipedia: The Dark Side of the Moon]); existing markup is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;tr class=&amp;quot;&amp;quot;&amp;gt; &lt;br /&gt;
&amp;lt;th scope=&amp;quot;row&amp;quot; style=&amp;quot;text-align:left;&amp;quot;&amp;gt;Length&amp;lt;/th&amp;gt; &lt;br /&gt;
&amp;lt;td class=&amp;quot;&amp;quot; style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;duration&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;min&amp;quot;&amp;gt;42&amp;lt;/span&amp;gt;:&amp;lt;span class=&amp;quot;s&amp;quot;&amp;gt;59&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
within an hAudio microformat.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;The movie is &amp;lt;time datetime=&amp;quot;96m&amp;quot;&amp;gt;96 min.&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [http://www.imdb.com/title/tt0084827/ IMDB:TRON])&lt;br /&gt;
&lt;br /&gt;
=== duration faq ===&lt;br /&gt;
* Q: Why not re-use the literal [https://secure.wikimedia.org/wikipedia/en/wiki/ISO_8601#Durations ISO 8601 duration] syntax?&lt;br /&gt;
** A: The ISO 8601 duration PnYnMnDTnHnMnS is quite human unfriendly and thus increases the chances of DRY violation based duplicate data drift. We&#039;ve had experience with the usability/readability problems of the ISO8601 datetime syntax just with the T and without dashes &amp;quot;-&amp;quot; or colons &amp;quot;:&amp;quot; between the date and time components respectively, and it is not unreasonable ton conclude that similar usability/readability problems exist with the unpunctuated duration syntax PnYnMnDTnHnMnS. Thus we make a few explicit changes from the ISO 8601 duration syntax to eliminate those problems:&lt;br /&gt;
*** &amp;quot;,&amp;quot; comma separated duration components (much more readable for humans)&lt;br /&gt;
*** dropping of the &amp;quot;T&amp;quot; between date and time components&lt;br /&gt;
*** reserve &amp;quot;Mo&amp;quot; standard abbreviation for Months for future disambiguation.&lt;br /&gt;
&lt;br /&gt;
=== duration discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Tantek (proposer).&lt;br /&gt;
* +1 Singpolyma, though I think I&#039;d prefer to also support the actual syntax if someone uses it&lt;br /&gt;
** +1 on your suggestion of also supporting the ISO-8601 duration format literally - since we can do so without conflict. [[User:Tantek|Tantek]] 02:55, 15 July 2011 (UTC)&lt;br /&gt;
** Note: I&#039;ve updated this proposal since your comment (dropping months, years, and updating syntax), please feel free to follow-up with an updated opinion. [[User:Tantek|Tantek]] 06:07, 18 November 2011 (UTC)&lt;br /&gt;
** updated accordingly. [[User:Tantek|Tantek]] 20:17, 4 November 2011 (UTC)&lt;br /&gt;
* +1 Andy Mabbett ([[User:Pigsonthewing|Pigsonthewing]]) (as Wikipedia editor who deployed hAudio there; see [https://secure.wikimedia.org/wikipedia/en/wiki/Template:Infobox_album Album template] which uses [https://secure.wikimedia.org/wikipedia/en/wiki/Template:Duration Duration template])&lt;br /&gt;
** Note: I&#039;ve updated this proposal since your comment (dropping months and years - neither of which is needed by the examples you provied, and updating the syntax), please feel free to follow-up with an updated opinion. [[User:Tantek|Tantek]] 06:07, 18 November 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additional changes to consider:&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;separate &#039;duration&#039; attribute.&#039;&#039;&#039; It&#039;s been pointed out on IRC that using an attribute called &#039;datetime&#039; for publishing/representing durations is a bit of an abuse. It may introduce some amount of cognitive dissonance for authors as well. Thus one possible fix is to:&lt;br /&gt;
** add an explicit &#039;duration&#039; attribute to the time element for when the time element is used to represent a duration.&lt;br /&gt;
** permit MM:SS and HH:MM:SS syntaxes for the &#039;duration&#039; attribute. Note that the audio duration examples above all use the syntax &amp;quot;MM:SS&amp;quot; where MM can be 1-2 digits.&lt;br /&gt;
* &#039;&#039;&#039;fuzzy durations&#039;&#039;&#039;. &lt;br /&gt;
** [[User:Javarome|Jérôme Beau]]  As per fuzzy dates mentioned above, durations should allow fuziness in durations :&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;P1H&amp;quot; certainty=&amp;quot;P5M&amp;quot;&amp;gt;one hour, more or less five minutes&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;Optionally, when uncertainty differ in past and future, a second, comma-separated duration should be interpreted as the specific future-incertainty.&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;P1H&amp;quot; certainty=&amp;quot;P1M,P30S&amp;quot;&amp;gt;one hour, up to 1 minute shorter or 30 seconds longer&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== timezone ==&lt;br /&gt;
;Status&lt;br /&gt;
:[http://html5.org/tools/web-apps-tracker?from=6826&amp;amp;to=6827 2011-11-18] &#039;&#039;&#039;Adopted in WHATWG HTML.&#039;&#039;&#039; &lt;br /&gt;
;Summary&lt;br /&gt;
:It would be great if the time element could support expressing timezone as well for the use cases as needed by the [http://microformats.org/wiki/hcalendar hCalendar] and other microformats that indicate time (hAtom etc.) as well as other use-cases (Wikipedia, IMDB).&lt;br /&gt;
&lt;br /&gt;
Simple proposal:&lt;br /&gt;
&lt;br /&gt;
* Allow for also parsing the following:&lt;br /&gt;
** -HHMM&lt;br /&gt;
** Z&lt;br /&gt;
** +HHMM&lt;br /&gt;
** Where -, +, and Z are literals.&lt;br /&gt;
** Where HH is a two digit number (zero padded for values less than 10) that represents hours&lt;br /&gt;
** Where MM is a two digit number (zero padded for values less than 10) that represents minutes&lt;br /&gt;
* And interpret the result as a timezone offset.&lt;br /&gt;
&lt;br /&gt;
=== timezone examples ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;code&amp;gt;&amp;amp;lt;time datetime=-0700&amp;amp;gt;Pacific Daylight&amp;amp;lt;/time&amp;amp;gt;&amp;lt;/pre&amp;gt; (source: [https://twitter.com/t/status/132158056736899073] in reply to [https://twitter.com/brucel/status/132152499032440833])&lt;br /&gt;
&lt;br /&gt;
... more examples welcome (e.g. see [http://microformats.org/wiki/hcalendar-examples-in-wild] for extracting more)&lt;br /&gt;
&lt;br /&gt;
=== timezone discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Tantek (proposer).&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== tz attribute ==&lt;br /&gt;
As quoted from the part of [http://www.w3.org/wiki/User:Mtanalin/time_element#h-simplify-datetime this proposal by Marat Tanalin].&lt;br /&gt;
&lt;br /&gt;
;Status&lt;br /&gt;
:new&lt;br /&gt;
;Summary&lt;br /&gt;
:Add dedicated @tz attribute to specify exact timezone (if any)&lt;br /&gt;
&lt;br /&gt;
&amp;quot;@tz attribute can contain timezone offset in hours (with leading dash used in value for negative offsets).&lt;br /&gt;
&lt;br /&gt;
Note that @tz attribute has nothing to do with timezone as TIME element value itself. @tz attribute is intended to be used in conjunction with datetime value provided separately: either by element&#039;s contents or by @datetime attribute value.&lt;br /&gt;
&lt;br /&gt;
Advantage of using dedicated attribute for timezone is that it can be applied to date represented by TIME element&#039;s &amp;lt;em&amp;gt;contents&amp;lt;/em&amp;gt;, thus preventing authors from duplicating date partially or entirely in both contents &amp;lt;em&amp;gt;and&amp;lt;/em&amp;gt; @datetime attribute.&lt;br /&gt;
&lt;br /&gt;
The @tz attribute is optional.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== tz attribute examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;amp;lt;time &amp;lt;strong&amp;gt;tz=&amp;quot;-8&amp;quot;&amp;lt;/strong&amp;gt;&amp;amp;gt;2011-11-12 19:20&amp;amp;lt;/time&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== tz attribute discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Marat Tanalin (proposer) per [http://www.w3.org/wiki/User:Mtanalin/time_element#h-simplify-datetime this proposal]&lt;br /&gt;
* -1 Tantek - I think separating machine datetime data into multiple attributes is not as reliable as always just using one (the current &amp;quot;datetime&amp;quot;) attribute, especially from an authoring data quality expectations perspective.&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
;Status&lt;br /&gt;
:[http://html5.org/tools/web-apps-tracker?from=6830&amp;amp;to=6831 2011-11-18] &#039;&#039;&#039;Fixed in WHATWG HTML&#039;&#039;&#039;. See also [http://www.w3.org/Bugs/Public/show_bug.cgi?id=14696 bug 14696].&lt;br /&gt;
;Summary&lt;br /&gt;
:please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/spec.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;br /&gt;
&lt;br /&gt;
[[Category:Proposals]]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=10376</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=10376"/>
		<updated>2022-07-10T11:51:38Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* am pm discussion */ c&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element] (see also [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element W3C TR time snapshot]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
The time element has been improved through the research done on this page. See:&lt;br /&gt;
* [[Time element accepted|Time element: accepted proposals]]&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
== Date granularity ==&lt;br /&gt;
All Date granularity proposals have been accepted. See: [[Time element accepted]].&lt;br /&gt;
&lt;br /&gt;
== HTML5 internal consistency ==&lt;br /&gt;
=== impedance match new date time inputs ===&lt;br /&gt;
The proposal to impedance match new date time inputs was partially accepted (additional time element granularity).  See: [[Time element accepted]].&lt;br /&gt;
&lt;br /&gt;
=== inputs to impedance match new time granularity ===&lt;br /&gt;
While this could be documented on an [[input]] element page, it made sense to keep it here as it&#039;s a part of time element discussion.&lt;br /&gt;
&lt;br /&gt;
For each time element granularity, there should be a corresponding input element.&lt;br /&gt;
&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow and vice-versa. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - &amp;lt;time&amp;gt;YYYY-MM&amp;lt;/time&amp;gt; (accepted as of 2011-11-18)&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-Www&amp;lt;/time&amp;gt; (accepted as of 2011-11-18)&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY&amp;lt;/time&amp;gt; (accepted as of 2011-11-18)&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - &amp;lt;time&amp;gt;--MM-DD&amp;lt;/time&amp;gt; (accepted as of 2011-11-18)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following [[input]] elements are proposed to represent the respective time element granularity:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot;&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580-1600&amp;quot;[http://en.wikipedia.org/wiki/Basawan]), centuries, and allow eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;) in a manner to be determined; perhaps once defined by EDTF efforts.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:Javarome|Jérôme Beau]] provided that &#039;certainty&#039; attribute use a standard format as well, such as the time duration syntax :&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;P3D&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;Optionally, when uncertainty differ in past and future, a second, comma-separated duration should be interpreted as the specific future-incertainty.&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;P3D,P5D&amp;quot;&amp;gt;around 18 June 1855, up to 3 days before or 5 days later&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;  &lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* -1 [[User:Ocolon|Martin Janecke]] - I don&#039;t object to the idea of fuzzy dates in general (a well defined certainty attribute sounds interesting) but this doesn&#039;t seem to be well thought through yet. E.g. &amp;quot;bronze age&amp;quot; rather defines a stage of development of a culture than a time, just as &amp;quot;adolescence&amp;quot; does for a human. The time element could be suitable for adding markup to the term &amp;quot;bronze age&amp;quot; in a text talking about a specific culture. But you would really add markup to the term, not use this term as time markup, exactly because &amp;quot;bronze age&amp;quot; does not tell a time. Please don&#039;t make the time element too unspecific as I am afraid this would reduce its usability rather than adding to it. [[User:Ocolon|Ocolon]] 12:54, 22 August 2010 (UTC)&lt;br /&gt;
**It is not proposed to define terms like &amp;quot;bronze age&amp;quot; here; but to cater for a) any definitions emerging from the EDTF efforts and/or b) a publisher using their own definition, such as, say &amp;lt;code&amp;gt;&amp;lt;time datetime=&amp;quot;[3300-1200 BC]&amp;quot;&amp;gt;Bronze age&amp;lt;/time&amp;gt;&amp;lt;/code&amp;gt;. It&#039;s not that &amp;quot;this isn&#039;t well thought through&amp;quot; so much as &amp;quot;this is brought here for the community to think through&amp;quot;. [[User:Pigsonthewing|Pigsonthewing]] 22:34, 22 August 2010 (UTC)&lt;br /&gt;
*** I wrote &amp;quot;this doesn&#039;t seem to be well thought through &#039;&#039;&#039;yet&#039;&#039;&#039;&amp;quot;, of course implying this can change. Thanks for the details on the &amp;quot;bronze age&amp;quot; example. Should the introduction sentence to the [http://wiki.whatwg.org/index.php?title=Time_element&amp;amp;oldid=5419#Fuzzy_dates fuzzy date section] be edited to reflect this? Currently it does propose &amp;quot;bronze age&amp;quot; etc. as examples for future time values. [[User:Ocolon|Ocolon]] 01:17, 23 August 2010 (UTC)&lt;br /&gt;
****Done. [[User:Pigsonthewing|Pigsonthewing]] 11:24, 23 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* Documenting pre-Gregorian time travel in science fiction&lt;br /&gt;
**[http://www.guardian.co.uk/news/datablog/2010/aug/20/doctor-who-time-travel-information-is-beautiful Dr Who time travel]&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* 0 [[User:Ocolon|Martin Janecke]] - I&#039;m afraid the current proposal is too &amp;quot;Western World&amp;quot; centered. If you plan to allow Julian and Gregorian dates – what about the Islamic, Chinese, Hebrew, …, Mesopotamian and Mayan calenders? I don&#039;t mean to say we mustn&#039;t incorporate other calender scales – but if we do, we&#039;ll probably have to implement all of them, making things easier in some and much more complicated in many aspects. This could result in many parsers not being able to understand many of the dates, making the time element less useful. I&#039;d rather use just one scale as it is in the spec right now. The Gregorian calender is an international standard, so it should be fine. But I don&#039;t know if it is right to expect others to use &amp;quot;my&amp;quot; calendar (which the Gregorian calender is), hence the neutral vote.&lt;br /&gt;
**Dates from 2000+ years ago in non-European calendars such as those you mention can be converted to Julian calendar dates (but not Gregorian dates), just as modern dates in those calendars can be converted to the Gregorian calendar. The use of Julian extends the range of dates which can be expressed. [[User:Pigsonthewing|Pigsonthewing]] 22:40, 22 August 2010 (UTC)&lt;br /&gt;
* +1 [[User:crashposition|John Dalziel]] Non-Gregorian reckoning is common in many fields (history, archeology, geology and astronomy to name just a few). However, given that all standard temporal datatypes are derived from ISO8601 then I think we&#039;re currently stuck with Gregorian for machine-readable dates. This puts the onus on the author to make (an often error-prone) conversion to Gregorian. &lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
* Dates before the Christian/Common Era could be specified by adding an &amp;lt;code&amp;gt;era&amp;lt;/code&amp;gt; attribute that can take two values: &amp;lt;code&amp;gt;CE&amp;lt;/code&amp;gt; (Common Era) or &amp;lt;code&amp;gt;BCE&amp;lt;/code&amp;gt; (Before Common Era). If the attribute isn&#039;t present, then a default value of &amp;lt;code&amp;gt;CE&amp;lt;/code&amp;gt; is assumed. The [http://en.wikipedia.org/wiki/Calendar_era#Dionysian_.22Common_Era.22 Dionysian &amp;quot;Common Era&amp;quot;] doesn&#039;t have a &amp;quot;year 0&amp;quot; thus eliminating that potential issue.&lt;br /&gt;
** See related: [http://www.w3.org/html/wg/wiki/User:Idevlin/add_era_attribute_to_time_element add era attribute to time element] change proposal&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements =&lt;br /&gt;
&lt;br /&gt;
== permit space instead of T in datetimes ==&lt;br /&gt;
;Status&lt;br /&gt;
:[http://html5.org/r/6845 2011-12-06] &#039;&#039;&#039;Adopted in WHATWG HTML.&#039;&#039;&#039;[http://krijnhoetmer.nl/irc-logs/whatwg/20111207#l-5] &lt;br /&gt;
;Summary&lt;br /&gt;
:The date-and-time microsyntaxes should permit a single space as a separator as an alternative to &amp;quot;T&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== summary of permit date-space-time ===&lt;br /&gt;
Current date-and-time microsyntaxes require a &amp;quot;T&amp;quot; between the date and time per ISO8601:&lt;br /&gt;
 2011-12-06T13:28:00&lt;br /&gt;
&lt;br /&gt;
This proposal modifies that requirement to permit a single space (U+0020) instead of the &amp;quot;T&amp;quot;, for both better human readability and the fact that that slight modification of ISO8601 date-and-time syntax is already widely supported by various tools.&lt;br /&gt;
 2011-12-06 13:28:00&lt;br /&gt;
&lt;br /&gt;
This proposal should be applied to the &#039;datetime&#039; attribute of both the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;gt;&amp;lt;/code&amp;gt; element and the &amp;lt;code&amp;gt;&amp;amp;lt;ins&amp;gt;&amp;lt;/code&amp;gt; &amp;amp;amp; &amp;lt;code&amp;gt;&amp;amp;lt;del&amp;gt;&amp;lt;/code&amp;gt; elements.&lt;br /&gt;
&lt;br /&gt;
Inspired by the first part of [http://www.w3.org/wiki/User:Mtanalin/time_element#h-simplify-datetime this proposal by Marat Tanalin], with additional references/issues documented from [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-959 #whatwg on 2011-12-01].&lt;br /&gt;
&lt;br /&gt;
=== existing implementation support of date-space-time ===&lt;br /&gt;
Note that this specific proposal of allowing a single space instead of &amp;quot;T&amp;quot; is supported by several existing implementations:&lt;br /&gt;
* &#039;&#039;&#039;Python.&#039;&#039;&#039; The date time python module outputs &amp;quot; &amp;quot; instead of &amp;quot;T&amp;quot; for &amp;lt;code&amp;gt;[http://docs.python.org/dev/library/datetime.html#datetime.datetime.__str__ str(aDatetime)]&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &#039;&#039;&#039;Perl.&#039;&#039;&#039; &amp;quot;Perl&#039;s Date::Parse also takes dates in that format, although it&#039;s not int he documentation. But we&#039;ve been relying on it doing so, for years, in Bugzilla.&amp;quot; -mkanat [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1129]&lt;br /&gt;
* &#039;&#039;&#039;MySQL.&#039;&#039;&#039; MySQL takes and sends all its [http://dev.mysql.com/doc/refman/5.1/en/datetime.html dates in date-space-time format].&lt;br /&gt;
* &#039;&#039;&#039;postgresql&#039;&#039;&#039; &amp;quot;also accepts that format, and its commandline omits T by default as well (2011-12-06 15:27:00.706385-07)&amp;quot; -zewt [http://krijnhoetmer.nl/irc-logs/whatwg/20111206#l-1138]&lt;br /&gt;
* &#039;&#039;&#039;Javascript Date.parse method.&#039;&#039;&#039; &lt;br /&gt;
** &#039;&#039;&#039;Chrome&#039;&#039;&#039; can parse it &amp;quot;2011-11-11 11:11:11&amp;quot;.[http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1138],[http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1140]&lt;br /&gt;
** &#039;&#039;&#039;Opera&#039;&#039;&#039; [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1141]&lt;br /&gt;
** Notable exceptions that DO NOT parse it:&lt;br /&gt;
*** Firefox8 [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1136]&lt;br /&gt;
*** IE8 returns NaN[http://krijnhoetmer.nl/irc-logs/whatwg/20111206#l-1126]. However it does support the format it outputs from toString (&amp;quot;Thu Dec 1 16:10:18 EST 2011&amp;quot;)[http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1209]&lt;br /&gt;
**** also returns NaN for &amp;quot;2011-11-11T11:11:11&amp;quot;[http://krijnhoetmer.nl/irc-logs/whatwg/20111206#l-1127] - thus unclear that lack of space support is any kind of meaningful result.&lt;br /&gt;
*** IE9 returns NaN [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1199]&lt;br /&gt;
*** IE10 returns NaN [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1196]&lt;br /&gt;
*** Safari returns NaN for: &amp;lt;br/&amp;gt;&amp;lt;code&amp;gt;data:text/html,&amp;amp;lt;!doctype html&amp;gt;&amp;amp;lt;script&amp;gt;alert(Date.parse(&amp;quot;2011-11-11 11:11:11&amp;quot;))&amp;amp;lt;/script&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== date-space-time issues questions ===&lt;br /&gt;
==== gratuitous departure from ISO8601 ====&lt;br /&gt;
&amp;quot;...seems like a bit of a gratuitous departure from ISO8601&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It&#039;s not gratuitous because there are very specific reasons for it:&lt;br /&gt;
* it does help readability, incrementally&lt;br /&gt;
* we&#039;re only adopting something that&#039;s been in use for a while, that is, it&#039;s been a mod on ISO8601 in general by others.&lt;br /&gt;
&lt;br /&gt;
=== date-space-time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Marat Tanalin per [http://www.w3.org/wiki/User:Mtanalin/time_element#h-simplify-datetime].&lt;br /&gt;
* +1 [[Tantek]] - I think this will improve readability, writability, usability, and thus overall data quality for information expressed in the date-and-time microsyntax.&lt;br /&gt;
* +1 kennyluck per [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1106]. &amp;quot;I think this &amp;lt;nowiki&amp;gt;[ISO8601-with-space]&amp;lt;/nowiki&amp;gt; is the most i18n-wise human-readable format.&amp;quot;[http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1111]&lt;br /&gt;
* +1 mkanat per [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1109]&lt;br /&gt;
* +1 zewt &amp;quot;it&#039;s a natural, human format, where *T* really isn&#039;t&amp;quot; [http://krijnhoetmer.nl/irc-logs/whatwg/20111206#l-1131]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span id=&amp;quot;Syntax_improvements_for_reducing_DRY_violations&amp;quot;&amp;gt;reducing DRY violations overview&amp;lt;/span&amp;gt; == &lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
** Your statements assume Western bias (you mention 80/20, however note that 80% of the world is not Western). Your assertion of the readability of &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot; assume Western consumers. In actuality, &amp;quot;2010-08-05&amp;quot; is more human-readable and accessible *world-wide* per international W3C expert study and report (presumably greater expertise than your opinions/assertions). Your assertion that &amp;quot;international readability is irrelevant&amp;quot; is discriminatory and intolerant. I urge you to reconsider your anti-i18n position. - [[User:Tantek|Tantek]]&lt;br /&gt;
***[Belated response, as I stopped following this site a long time ago (not least because of the snide and derogatory tone of some comments, of which the above is a fine example), and only revisited by chance]. Had I said &amp;quot;international readability is irrelevant&amp;quot;, you might have a point. I did not, and you misquoted me. I actually said (emphasis added for clarity)  &amp;quot;&#039;international&#039; readability is irrelevant, &#039;&#039;&#039;&#039;&#039;when pages are otherwise in one language or another&#039;&#039;&#039;&#039;&#039;&amp;quot;. While YYYY-MM-DD format is relevant in a-lingual contexts such as code and data, &#039;&#039;when a page is in a specific language&#039;&#039; then the prose date &#039;&#039;in that language&#039;&#039; is the most accessible to its target audience (An example would be the use of &amp;quot;24 November 2011&amp;quot; on this page. In your own signature). Making the date accessible to readers of other languages - especially at the cost of reduced accessibility for the target audience - is irrelevant, if the reader cannot understand the surrounding text. Nor do I &amp;quot;assume Western bias&amp;quot;. In this case, what I said was &amp;quot;accessible prose such as, say, &#039;5 August 2010&#039; or &#039;August 5th, 2010&#039;&amp;quot;. Note the inclusion of the phrase &amp;quot;such as, say&amp;quot;, which indicates that the following examples are just that: &#039;&#039;examples&#039;&#039;. I gave my examples in English, because discussion on this page is carried out in English. But what I said holds true if the date is written in Urdu, Mandarin, Arabic, Japanese, or any other specific language. I posit that 80% of the world do not use YYYY-MM-DD dates outside of special use cases such as those I mention; and still evidence to the contrary is lacking. Nor do I hold an &amp;quot;anti-internationalisation position&amp;quot; (assuming that is what you mean by the far from internationally accessible &amp;quot;i18n&amp;quot;). Once again, I must ask you not to attempt to speak for me. My objection stands. [[User:Pigsonthewing|Andy Mabbett]] 11:49, 10 July 2022 (UTC)&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
** In addition, the ISO8601 intervals syntax are sufficiently unfriendly/unintuitive/unreadable that they&#039;ve been rejected for hCalendar in the past. This particular proposal should be evaluated on its merits independent of intervals. Intervals would need to be discussed as a separate feature. [[User:Tantek|Tantek]] 01:31, 24 November 2011 (UTC)&lt;br /&gt;
* -1 [[User:cobaco]] We have 2 pieces of information 1) the actual date (in ISO format) and 2) how we want that time displayed. Pretty much every programming language under the sun already has code to transform a particular datetime into a particular format. So how about we just add an attribute, say datetimeformat. You&#039;d then have something like:&lt;br /&gt;
&amp;lt;time datetime=&amp;quot;2011-10-02T11:23:04&amp;quot; datetimeformat=&amp;quot;%a, %e %b %Y %H:%M:%S %z&amp;quot; /&amp;gt; to get &amp;quot;Sun, 2 Oct 2011 11:23:04 +0200&amp;quot; displayed by the browser (I used a ruby strftime format specification to specify a rfc2822 datetime output, see http://ruby-doc.org/docs/ProgrammingRuby/html/ref_c_time.html#Time.strftime for how that works)&lt;br /&gt;
** Because syntaxes like &amp;quot;%a, %e %b %Y %H:%M:%S %z&amp;quot; are even more cryptic/esoteric/unreadable, and not something we&#039;d want to burden web authors/designers with. In addition, the author/designer preferred human-specific format has to be provided literally as text in order for browsers that don&#039;t support the time element to render it.  [[User:Tantek|Tantek]] 01:31, 24 November 2011 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
***Please do not rewrite or edit my comments. [[User:Pigsonthewing|Andy Mabbett]] 11:51, 10 July 2022 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Other types of time =&lt;br /&gt;
== duration ==&lt;br /&gt;
;Status&lt;br /&gt;
:[http://html5.org/tools/web-apps-tracker?from=6826&amp;amp;to=6827 2011-11-18] &#039;&#039;&#039;Adopted in WHATWG HTML.&#039;&#039;&#039; &lt;br /&gt;
;Summary&lt;br /&gt;
:It would be great if the time element could support expressing durations as well for the use cases as needed by the [http://microformats.org/wiki/hmedia hMedia] and [http://microformats.org/wiki/haudio hAudio] microformats as well as other use-cases (Wikipedia, IMDB).&lt;br /&gt;
&lt;br /&gt;
Simple proposal:&lt;br /&gt;
&lt;br /&gt;
* Allow for also parsing the following:&lt;br /&gt;
** PnD,nH,nM,nS&lt;br /&gt;
*** where P, D, H, M, S are case-insensitive literals&lt;br /&gt;
*** P is optional&lt;br /&gt;
*** n is a fixed point number expressible with a decimal point&lt;br /&gt;
*** and the intervening commas &#039;,&#039; are optional and may be used when more than one time duration unit is given.&lt;br /&gt;
** PnDTnHnMnS (per informative reference: [http://en.wikipedia.org/wiki/ISO_8601#Durations ISO8601 duration])&lt;br /&gt;
*** where P, D, T, H, M, S are case-insensitive literals&lt;br /&gt;
*** n is a non-negative integer (with optional leading zeroes)&lt;br /&gt;
&lt;br /&gt;
Note: per discussion 2011-321 in #whatwg IRC, and explicitly noting that iCalendar RFC 5545 omits year and month durations from its subset of ISO8601 duration syntax, this proposal also omits year and month durations. Without documented examples of in-the-wild publishing weeks durations (which are present in iCalendar), they are also omitted. Documentation of real world examples may help reconsideration of weeks durations.&lt;br /&gt;
&lt;br /&gt;
=== duration examples ===&lt;br /&gt;
&amp;lt;pre&amp;gt;Typical bims are &amp;lt;time datetime=&amp;quot;P61D&amp;quot;&amp;gt;61 days&amp;lt;/time&amp;gt; long.&amp;lt;/pre&amp;gt; (source: [http://newcal.org/#bimdefinition NewCalendar bim defintion])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;The Game Has Changed&amp;quot; &amp;lt;time datetime=&amp;quot;P3M,25S&amp;quot;&amp;gt;3:25&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [https://secure.wikimedia.org/wikipedia/en/wiki/Tron:_Legacy_%28soundtrack%29#Track_listing Wikipedia: TRON:Legacy soundtrack track listing])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Length &amp;lt;time datetime=&amp;quot;P42M,59S&amp;quot;&amp;gt;42:59&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [https://secure.wikimedia.org/wikipedia/en/wiki/The_Dark_Side_of_the_Moon Wikipedia: The Dark Side of the Moon]); existing markup is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;tr class=&amp;quot;&amp;quot;&amp;gt; &lt;br /&gt;
&amp;lt;th scope=&amp;quot;row&amp;quot; style=&amp;quot;text-align:left;&amp;quot;&amp;gt;Length&amp;lt;/th&amp;gt; &lt;br /&gt;
&amp;lt;td class=&amp;quot;&amp;quot; style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;duration&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;min&amp;quot;&amp;gt;42&amp;lt;/span&amp;gt;:&amp;lt;span class=&amp;quot;s&amp;quot;&amp;gt;59&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
within an hAudio microformat.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;The movie is &amp;lt;time datetime=&amp;quot;96m&amp;quot;&amp;gt;96 min.&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [http://www.imdb.com/title/tt0084827/ IMDB:TRON])&lt;br /&gt;
&lt;br /&gt;
=== duration faq ===&lt;br /&gt;
* Q: Why not re-use the literal [https://secure.wikimedia.org/wikipedia/en/wiki/ISO_8601#Durations ISO 8601 duration] syntax?&lt;br /&gt;
** A: The ISO 8601 duration PnYnMnDTnHnMnS is quite human unfriendly and thus increases the chances of DRY violation based duplicate data drift. We&#039;ve had experience with the usability/readability problems of the ISO8601 datetime syntax just with the T and without dashes &amp;quot;-&amp;quot; or colons &amp;quot;:&amp;quot; between the date and time components respectively, and it is not unreasonable ton conclude that similar usability/readability problems exist with the unpunctuated duration syntax PnYnMnDTnHnMnS. Thus we make a few explicit changes from the ISO 8601 duration syntax to eliminate those problems:&lt;br /&gt;
*** &amp;quot;,&amp;quot; comma separated duration components (much more readable for humans)&lt;br /&gt;
*** dropping of the &amp;quot;T&amp;quot; between date and time components&lt;br /&gt;
*** reserve &amp;quot;Mo&amp;quot; standard abbreviation for Months for future disambiguation.&lt;br /&gt;
&lt;br /&gt;
=== duration discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Tantek (proposer).&lt;br /&gt;
* +1 Singpolyma, though I think I&#039;d prefer to also support the actual syntax if someone uses it&lt;br /&gt;
** +1 on your suggestion of also supporting the ISO-8601 duration format literally - since we can do so without conflict. [[User:Tantek|Tantek]] 02:55, 15 July 2011 (UTC)&lt;br /&gt;
** Note: I&#039;ve updated this proposal since your comment (dropping months, years, and updating syntax), please feel free to follow-up with an updated opinion. [[User:Tantek|Tantek]] 06:07, 18 November 2011 (UTC)&lt;br /&gt;
** updated accordingly. [[User:Tantek|Tantek]] 20:17, 4 November 2011 (UTC)&lt;br /&gt;
* +1 Andy Mabbett ([[User:Pigsonthewing|Pigsonthewing]]) (as Wikipedia editor who deployed hAudio there; see [https://secure.wikimedia.org/wikipedia/en/wiki/Template:Infobox_album Album template] which uses [https://secure.wikimedia.org/wikipedia/en/wiki/Template:Duration Duration template])&lt;br /&gt;
** Note: I&#039;ve updated this proposal since your comment (dropping months and years - neither of which is needed by the examples you provied, and updating the syntax), please feel free to follow-up with an updated opinion. [[User:Tantek|Tantek]] 06:07, 18 November 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additional changes to consider:&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;separate &#039;duration&#039; attribute.&#039;&#039;&#039; It&#039;s been pointed out on IRC that using an attribute called &#039;datetime&#039; for publishing/representing durations is a bit of an abuse. It may introduce some amount of cognitive dissonance for authors as well. Thus one possible fix is to:&lt;br /&gt;
** add an explicit &#039;duration&#039; attribute to the time element for when the time element is used to represent a duration.&lt;br /&gt;
** permit MM:SS and HH:MM:SS syntaxes for the &#039;duration&#039; attribute. Note that the audio duration examples above all use the syntax &amp;quot;MM:SS&amp;quot; where MM can be 1-2 digits.&lt;br /&gt;
* &#039;&#039;&#039;fuzzy durations&#039;&#039;&#039;. &lt;br /&gt;
** [[User:Javarome|Jérôme Beau]]  As per fuzzy dates mentioned above, durations should allow fuziness in durations :&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;P1H&amp;quot; certainty=&amp;quot;P5M&amp;quot;&amp;gt;one hour, more or less five minutes&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;Optionally, when uncertainty differ in past and future, a second, comma-separated duration should be interpreted as the specific future-incertainty.&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;P1H&amp;quot; certainty=&amp;quot;P1M,P30S&amp;quot;&amp;gt;one hour, up to 1 minute shorter or 30 seconds longer&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== timezone ==&lt;br /&gt;
;Status&lt;br /&gt;
:[http://html5.org/tools/web-apps-tracker?from=6826&amp;amp;to=6827 2011-11-18] &#039;&#039;&#039;Adopted in WHATWG HTML.&#039;&#039;&#039; &lt;br /&gt;
;Summary&lt;br /&gt;
:It would be great if the time element could support expressing timezone as well for the use cases as needed by the [http://microformats.org/wiki/hcalendar hCalendar] and other microformats that indicate time (hAtom etc.) as well as other use-cases (Wikipedia, IMDB).&lt;br /&gt;
&lt;br /&gt;
Simple proposal:&lt;br /&gt;
&lt;br /&gt;
* Allow for also parsing the following:&lt;br /&gt;
** -HHMM&lt;br /&gt;
** Z&lt;br /&gt;
** +HHMM&lt;br /&gt;
** Where -, +, and Z are literals.&lt;br /&gt;
** Where HH is a two digit number (zero padded for values less than 10) that represents hours&lt;br /&gt;
** Where MM is a two digit number (zero padded for values less than 10) that represents minutes&lt;br /&gt;
* And interpret the result as a timezone offset.&lt;br /&gt;
&lt;br /&gt;
=== timezone examples ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;code&amp;gt;&amp;amp;lt;time datetime=-0700&amp;amp;gt;Pacific Daylight&amp;amp;lt;/time&amp;amp;gt;&amp;lt;/pre&amp;gt; (source: [https://twitter.com/t/status/132158056736899073] in reply to [https://twitter.com/brucel/status/132152499032440833])&lt;br /&gt;
&lt;br /&gt;
... more examples welcome (e.g. see [http://microformats.org/wiki/hcalendar-examples-in-wild] for extracting more)&lt;br /&gt;
&lt;br /&gt;
=== timezone discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Tantek (proposer).&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== tz attribute ==&lt;br /&gt;
As quoted from the part of [http://www.w3.org/wiki/User:Mtanalin/time_element#h-simplify-datetime this proposal by Marat Tanalin].&lt;br /&gt;
&lt;br /&gt;
;Status&lt;br /&gt;
:new&lt;br /&gt;
;Summary&lt;br /&gt;
:Add dedicated @tz attribute to specify exact timezone (if any)&lt;br /&gt;
&lt;br /&gt;
&amp;quot;@tz attribute can contain timezone offset in hours (with leading dash used in value for negative offsets).&lt;br /&gt;
&lt;br /&gt;
Note that @tz attribute has nothing to do with timezone as TIME element value itself. @tz attribute is intended to be used in conjunction with datetime value provided separately: either by element&#039;s contents or by @datetime attribute value.&lt;br /&gt;
&lt;br /&gt;
Advantage of using dedicated attribute for timezone is that it can be applied to date represented by TIME element&#039;s &amp;lt;em&amp;gt;contents&amp;lt;/em&amp;gt;, thus preventing authors from duplicating date partially or entirely in both contents &amp;lt;em&amp;gt;and&amp;lt;/em&amp;gt; @datetime attribute.&lt;br /&gt;
&lt;br /&gt;
The @tz attribute is optional.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== tz attribute examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;amp;lt;time &amp;lt;strong&amp;gt;tz=&amp;quot;-8&amp;quot;&amp;lt;/strong&amp;gt;&amp;amp;gt;2011-11-12 19:20&amp;amp;lt;/time&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== tz attribute discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Marat Tanalin (proposer) per [http://www.w3.org/wiki/User:Mtanalin/time_element#h-simplify-datetime this proposal]&lt;br /&gt;
* -1 Tantek - I think separating machine datetime data into multiple attributes is not as reliable as always just using one (the current &amp;quot;datetime&amp;quot;) attribute, especially from an authoring data quality expectations perspective.&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
;Status&lt;br /&gt;
:[http://html5.org/tools/web-apps-tracker?from=6830&amp;amp;to=6831 2011-11-18] &#039;&#039;&#039;Fixed in WHATWG HTML&#039;&#039;&#039;. See also [http://www.w3.org/Bugs/Public/show_bug.cgi?id=14696 bug 14696].&lt;br /&gt;
;Summary&lt;br /&gt;
:please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/spec.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;br /&gt;
&lt;br /&gt;
[[Category:Proposals]]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=10375</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=10375"/>
		<updated>2022-07-10T11:49:42Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* nested time discussion */ r&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element] (see also [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element W3C TR time snapshot]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
The time element has been improved through the research done on this page. See:&lt;br /&gt;
* [[Time element accepted|Time element: accepted proposals]]&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
== Date granularity ==&lt;br /&gt;
All Date granularity proposals have been accepted. See: [[Time element accepted]].&lt;br /&gt;
&lt;br /&gt;
== HTML5 internal consistency ==&lt;br /&gt;
=== impedance match new date time inputs ===&lt;br /&gt;
The proposal to impedance match new date time inputs was partially accepted (additional time element granularity).  See: [[Time element accepted]].&lt;br /&gt;
&lt;br /&gt;
=== inputs to impedance match new time granularity ===&lt;br /&gt;
While this could be documented on an [[input]] element page, it made sense to keep it here as it&#039;s a part of time element discussion.&lt;br /&gt;
&lt;br /&gt;
For each time element granularity, there should be a corresponding input element.&lt;br /&gt;
&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow and vice-versa. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - &amp;lt;time&amp;gt;YYYY-MM&amp;lt;/time&amp;gt; (accepted as of 2011-11-18)&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-Www&amp;lt;/time&amp;gt; (accepted as of 2011-11-18)&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY&amp;lt;/time&amp;gt; (accepted as of 2011-11-18)&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - &amp;lt;time&amp;gt;--MM-DD&amp;lt;/time&amp;gt; (accepted as of 2011-11-18)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following [[input]] elements are proposed to represent the respective time element granularity:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot;&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580-1600&amp;quot;[http://en.wikipedia.org/wiki/Basawan]), centuries, and allow eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;) in a manner to be determined; perhaps once defined by EDTF efforts.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:Javarome|Jérôme Beau]] provided that &#039;certainty&#039; attribute use a standard format as well, such as the time duration syntax :&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;P3D&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;Optionally, when uncertainty differ in past and future, a second, comma-separated duration should be interpreted as the specific future-incertainty.&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;P3D,P5D&amp;quot;&amp;gt;around 18 June 1855, up to 3 days before or 5 days later&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;  &lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* -1 [[User:Ocolon|Martin Janecke]] - I don&#039;t object to the idea of fuzzy dates in general (a well defined certainty attribute sounds interesting) but this doesn&#039;t seem to be well thought through yet. E.g. &amp;quot;bronze age&amp;quot; rather defines a stage of development of a culture than a time, just as &amp;quot;adolescence&amp;quot; does for a human. The time element could be suitable for adding markup to the term &amp;quot;bronze age&amp;quot; in a text talking about a specific culture. But you would really add markup to the term, not use this term as time markup, exactly because &amp;quot;bronze age&amp;quot; does not tell a time. Please don&#039;t make the time element too unspecific as I am afraid this would reduce its usability rather than adding to it. [[User:Ocolon|Ocolon]] 12:54, 22 August 2010 (UTC)&lt;br /&gt;
**It is not proposed to define terms like &amp;quot;bronze age&amp;quot; here; but to cater for a) any definitions emerging from the EDTF efforts and/or b) a publisher using their own definition, such as, say &amp;lt;code&amp;gt;&amp;lt;time datetime=&amp;quot;[3300-1200 BC]&amp;quot;&amp;gt;Bronze age&amp;lt;/time&amp;gt;&amp;lt;/code&amp;gt;. It&#039;s not that &amp;quot;this isn&#039;t well thought through&amp;quot; so much as &amp;quot;this is brought here for the community to think through&amp;quot;. [[User:Pigsonthewing|Pigsonthewing]] 22:34, 22 August 2010 (UTC)&lt;br /&gt;
*** I wrote &amp;quot;this doesn&#039;t seem to be well thought through &#039;&#039;&#039;yet&#039;&#039;&#039;&amp;quot;, of course implying this can change. Thanks for the details on the &amp;quot;bronze age&amp;quot; example. Should the introduction sentence to the [http://wiki.whatwg.org/index.php?title=Time_element&amp;amp;oldid=5419#Fuzzy_dates fuzzy date section] be edited to reflect this? Currently it does propose &amp;quot;bronze age&amp;quot; etc. as examples for future time values. [[User:Ocolon|Ocolon]] 01:17, 23 August 2010 (UTC)&lt;br /&gt;
****Done. [[User:Pigsonthewing|Pigsonthewing]] 11:24, 23 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* Documenting pre-Gregorian time travel in science fiction&lt;br /&gt;
**[http://www.guardian.co.uk/news/datablog/2010/aug/20/doctor-who-time-travel-information-is-beautiful Dr Who time travel]&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* 0 [[User:Ocolon|Martin Janecke]] - I&#039;m afraid the current proposal is too &amp;quot;Western World&amp;quot; centered. If you plan to allow Julian and Gregorian dates – what about the Islamic, Chinese, Hebrew, …, Mesopotamian and Mayan calenders? I don&#039;t mean to say we mustn&#039;t incorporate other calender scales – but if we do, we&#039;ll probably have to implement all of them, making things easier in some and much more complicated in many aspects. This could result in many parsers not being able to understand many of the dates, making the time element less useful. I&#039;d rather use just one scale as it is in the spec right now. The Gregorian calender is an international standard, so it should be fine. But I don&#039;t know if it is right to expect others to use &amp;quot;my&amp;quot; calendar (which the Gregorian calender is), hence the neutral vote.&lt;br /&gt;
**Dates from 2000+ years ago in non-European calendars such as those you mention can be converted to Julian calendar dates (but not Gregorian dates), just as modern dates in those calendars can be converted to the Gregorian calendar. The use of Julian extends the range of dates which can be expressed. [[User:Pigsonthewing|Pigsonthewing]] 22:40, 22 August 2010 (UTC)&lt;br /&gt;
* +1 [[User:crashposition|John Dalziel]] Non-Gregorian reckoning is common in many fields (history, archeology, geology and astronomy to name just a few). However, given that all standard temporal datatypes are derived from ISO8601 then I think we&#039;re currently stuck with Gregorian for machine-readable dates. This puts the onus on the author to make (an often error-prone) conversion to Gregorian. &lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
* Dates before the Christian/Common Era could be specified by adding an &amp;lt;code&amp;gt;era&amp;lt;/code&amp;gt; attribute that can take two values: &amp;lt;code&amp;gt;CE&amp;lt;/code&amp;gt; (Common Era) or &amp;lt;code&amp;gt;BCE&amp;lt;/code&amp;gt; (Before Common Era). If the attribute isn&#039;t present, then a default value of &amp;lt;code&amp;gt;CE&amp;lt;/code&amp;gt; is assumed. The [http://en.wikipedia.org/wiki/Calendar_era#Dionysian_.22Common_Era.22 Dionysian &amp;quot;Common Era&amp;quot;] doesn&#039;t have a &amp;quot;year 0&amp;quot; thus eliminating that potential issue.&lt;br /&gt;
** See related: [http://www.w3.org/html/wg/wiki/User:Idevlin/add_era_attribute_to_time_element add era attribute to time element] change proposal&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements =&lt;br /&gt;
&lt;br /&gt;
== permit space instead of T in datetimes ==&lt;br /&gt;
;Status&lt;br /&gt;
:[http://html5.org/r/6845 2011-12-06] &#039;&#039;&#039;Adopted in WHATWG HTML.&#039;&#039;&#039;[http://krijnhoetmer.nl/irc-logs/whatwg/20111207#l-5] &lt;br /&gt;
;Summary&lt;br /&gt;
:The date-and-time microsyntaxes should permit a single space as a separator as an alternative to &amp;quot;T&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== summary of permit date-space-time ===&lt;br /&gt;
Current date-and-time microsyntaxes require a &amp;quot;T&amp;quot; between the date and time per ISO8601:&lt;br /&gt;
 2011-12-06T13:28:00&lt;br /&gt;
&lt;br /&gt;
This proposal modifies that requirement to permit a single space (U+0020) instead of the &amp;quot;T&amp;quot;, for both better human readability and the fact that that slight modification of ISO8601 date-and-time syntax is already widely supported by various tools.&lt;br /&gt;
 2011-12-06 13:28:00&lt;br /&gt;
&lt;br /&gt;
This proposal should be applied to the &#039;datetime&#039; attribute of both the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;gt;&amp;lt;/code&amp;gt; element and the &amp;lt;code&amp;gt;&amp;amp;lt;ins&amp;gt;&amp;lt;/code&amp;gt; &amp;amp;amp; &amp;lt;code&amp;gt;&amp;amp;lt;del&amp;gt;&amp;lt;/code&amp;gt; elements.&lt;br /&gt;
&lt;br /&gt;
Inspired by the first part of [http://www.w3.org/wiki/User:Mtanalin/time_element#h-simplify-datetime this proposal by Marat Tanalin], with additional references/issues documented from [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-959 #whatwg on 2011-12-01].&lt;br /&gt;
&lt;br /&gt;
=== existing implementation support of date-space-time ===&lt;br /&gt;
Note that this specific proposal of allowing a single space instead of &amp;quot;T&amp;quot; is supported by several existing implementations:&lt;br /&gt;
* &#039;&#039;&#039;Python.&#039;&#039;&#039; The date time python module outputs &amp;quot; &amp;quot; instead of &amp;quot;T&amp;quot; for &amp;lt;code&amp;gt;[http://docs.python.org/dev/library/datetime.html#datetime.datetime.__str__ str(aDatetime)]&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &#039;&#039;&#039;Perl.&#039;&#039;&#039; &amp;quot;Perl&#039;s Date::Parse also takes dates in that format, although it&#039;s not int he documentation. But we&#039;ve been relying on it doing so, for years, in Bugzilla.&amp;quot; -mkanat [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1129]&lt;br /&gt;
* &#039;&#039;&#039;MySQL.&#039;&#039;&#039; MySQL takes and sends all its [http://dev.mysql.com/doc/refman/5.1/en/datetime.html dates in date-space-time format].&lt;br /&gt;
* &#039;&#039;&#039;postgresql&#039;&#039;&#039; &amp;quot;also accepts that format, and its commandline omits T by default as well (2011-12-06 15:27:00.706385-07)&amp;quot; -zewt [http://krijnhoetmer.nl/irc-logs/whatwg/20111206#l-1138]&lt;br /&gt;
* &#039;&#039;&#039;Javascript Date.parse method.&#039;&#039;&#039; &lt;br /&gt;
** &#039;&#039;&#039;Chrome&#039;&#039;&#039; can parse it &amp;quot;2011-11-11 11:11:11&amp;quot;.[http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1138],[http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1140]&lt;br /&gt;
** &#039;&#039;&#039;Opera&#039;&#039;&#039; [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1141]&lt;br /&gt;
** Notable exceptions that DO NOT parse it:&lt;br /&gt;
*** Firefox8 [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1136]&lt;br /&gt;
*** IE8 returns NaN[http://krijnhoetmer.nl/irc-logs/whatwg/20111206#l-1126]. However it does support the format it outputs from toString (&amp;quot;Thu Dec 1 16:10:18 EST 2011&amp;quot;)[http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1209]&lt;br /&gt;
**** also returns NaN for &amp;quot;2011-11-11T11:11:11&amp;quot;[http://krijnhoetmer.nl/irc-logs/whatwg/20111206#l-1127] - thus unclear that lack of space support is any kind of meaningful result.&lt;br /&gt;
*** IE9 returns NaN [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1199]&lt;br /&gt;
*** IE10 returns NaN [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1196]&lt;br /&gt;
*** Safari returns NaN for: &amp;lt;br/&amp;gt;&amp;lt;code&amp;gt;data:text/html,&amp;amp;lt;!doctype html&amp;gt;&amp;amp;lt;script&amp;gt;alert(Date.parse(&amp;quot;2011-11-11 11:11:11&amp;quot;))&amp;amp;lt;/script&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== date-space-time issues questions ===&lt;br /&gt;
==== gratuitous departure from ISO8601 ====&lt;br /&gt;
&amp;quot;...seems like a bit of a gratuitous departure from ISO8601&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It&#039;s not gratuitous because there are very specific reasons for it:&lt;br /&gt;
* it does help readability, incrementally&lt;br /&gt;
* we&#039;re only adopting something that&#039;s been in use for a while, that is, it&#039;s been a mod on ISO8601 in general by others.&lt;br /&gt;
&lt;br /&gt;
=== date-space-time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Marat Tanalin per [http://www.w3.org/wiki/User:Mtanalin/time_element#h-simplify-datetime].&lt;br /&gt;
* +1 [[Tantek]] - I think this will improve readability, writability, usability, and thus overall data quality for information expressed in the date-and-time microsyntax.&lt;br /&gt;
* +1 kennyluck per [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1106]. &amp;quot;I think this &amp;lt;nowiki&amp;gt;[ISO8601-with-space]&amp;lt;/nowiki&amp;gt; is the most i18n-wise human-readable format.&amp;quot;[http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1111]&lt;br /&gt;
* +1 mkanat per [http://krijnhoetmer.nl/irc-logs/whatwg/20111201#l-1109]&lt;br /&gt;
* +1 zewt &amp;quot;it&#039;s a natural, human format, where *T* really isn&#039;t&amp;quot; [http://krijnhoetmer.nl/irc-logs/whatwg/20111206#l-1131]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span id=&amp;quot;Syntax_improvements_for_reducing_DRY_violations&amp;quot;&amp;gt;reducing DRY violations overview&amp;lt;/span&amp;gt; == &lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
** Your statements assume Western bias (you mention 80/20, however note that 80% of the world is not Western). Your assertion of the readability of &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot; assume Western consumers. In actuality, &amp;quot;2010-08-05&amp;quot; is more human-readable and accessible *world-wide* per international W3C expert study and report (presumably greater expertise than your opinions/assertions). Your assertion that &amp;quot;international readability is irrelevant&amp;quot; is discriminatory and intolerant. I urge you to reconsider your anti-i18n position. - [[User:Tantek|Tantek]]&lt;br /&gt;
***[Belated response, as I stopped following this site a long time ago (not least because of the snide and derogatory tone of some comments, of which the above is a fine example), and only revisited by chance]. Had I said &amp;quot;international readability is irrelevant&amp;quot;, you might have a point. I did not, and you misquoted me. I actually said (emphasis added for clarity)  &amp;quot;&#039;international&#039; readability is irrelevant, &#039;&#039;&#039;&#039;&#039;when pages are otherwise in one language or another&#039;&#039;&#039;&#039;&#039;&amp;quot;. While YYYY-MM-DD format is relevant in a-lingual contexts such as code and data, &#039;&#039;when a page is in a specific language&#039;&#039; then the prose date &#039;&#039;in that language&#039;&#039; is the most accessible to its target audience (An example would be the use of &amp;quot;24 November 2011&amp;quot; on this page. In your own signature). Making the date accessible to readers of other languages - especially at the cost of reduced accessibility for the target audience - is irrelevant, if the reader cannot understand the surrounding text. Nor do I &amp;quot;assume Western bias&amp;quot;. In this case, what I said was &amp;quot;accessible prose such as, say, &#039;5 August 2010&#039; or &#039;August 5th, 2010&#039;&amp;quot;. Note the inclusion of the phrase &amp;quot;such as, say&amp;quot;, which indicates that the following examples are just that: &#039;&#039;examples&#039;&#039;. I gave my examples in English, because discussion on this page is carried out in English. But what I said holds true if the date is written in Urdu, Mandarin, Arabic, Japanese, or any other specific language. I posit that 80% of the world do not use YYYY-MM-DD dates outside of special use cases such as those I mention; and still evidence to the contrary is lacking. Nor do I hold an &amp;quot;anti-internationalisation position&amp;quot; (assuming that is what you mean by the far from internationally accessible &amp;quot;i18n&amp;quot;). Once again, I must ask you not to attempt to speak for me. My objection stands. [[User:Pigsonthewing|Andy Mabbett]] 11:49, 10 July 2022 (UTC)&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
** In addition, the ISO8601 intervals syntax are sufficiently unfriendly/unintuitive/unreadable that they&#039;ve been rejected for hCalendar in the past. This particular proposal should be evaluated on its merits independent of intervals. Intervals would need to be discussed as a separate feature. [[User:Tantek|Tantek]] 01:31, 24 November 2011 (UTC)&lt;br /&gt;
* -1 [[User:cobaco]] We have 2 pieces of information 1) the actual date (in ISO format) and 2) how we want that time displayed. Pretty much every programming language under the sun already has code to transform a particular datetime into a particular format. So how about we just add an attribute, say datetimeformat. You&#039;d then have something like:&lt;br /&gt;
&amp;lt;time datetime=&amp;quot;2011-10-02T11:23:04&amp;quot; datetimeformat=&amp;quot;%a, %e %b %Y %H:%M:%S %z&amp;quot; /&amp;gt; to get &amp;quot;Sun, 2 Oct 2011 11:23:04 +0200&amp;quot; displayed by the browser (I used a ruby strftime format specification to specify a rfc2822 datetime output, see http://ruby-doc.org/docs/ProgrammingRuby/html/ref_c_time.html#Time.strftime for how that works)&lt;br /&gt;
** Because syntaxes like &amp;quot;%a, %e %b %Y %H:%M:%S %z&amp;quot; are even more cryptic/esoteric/unreadable, and not something we&#039;d want to burden web authors/designers with. In addition, the author/designer preferred human-specific format has to be provided literally as text in order for browsers that don&#039;t support the time element to render it.  [[User:Tantek|Tantek]] 01:31, 24 November 2011 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Other types of time =&lt;br /&gt;
== duration ==&lt;br /&gt;
;Status&lt;br /&gt;
:[http://html5.org/tools/web-apps-tracker?from=6826&amp;amp;to=6827 2011-11-18] &#039;&#039;&#039;Adopted in WHATWG HTML.&#039;&#039;&#039; &lt;br /&gt;
;Summary&lt;br /&gt;
:It would be great if the time element could support expressing durations as well for the use cases as needed by the [http://microformats.org/wiki/hmedia hMedia] and [http://microformats.org/wiki/haudio hAudio] microformats as well as other use-cases (Wikipedia, IMDB).&lt;br /&gt;
&lt;br /&gt;
Simple proposal:&lt;br /&gt;
&lt;br /&gt;
* Allow for also parsing the following:&lt;br /&gt;
** PnD,nH,nM,nS&lt;br /&gt;
*** where P, D, H, M, S are case-insensitive literals&lt;br /&gt;
*** P is optional&lt;br /&gt;
*** n is a fixed point number expressible with a decimal point&lt;br /&gt;
*** and the intervening commas &#039;,&#039; are optional and may be used when more than one time duration unit is given.&lt;br /&gt;
** PnDTnHnMnS (per informative reference: [http://en.wikipedia.org/wiki/ISO_8601#Durations ISO8601 duration])&lt;br /&gt;
*** where P, D, T, H, M, S are case-insensitive literals&lt;br /&gt;
*** n is a non-negative integer (with optional leading zeroes)&lt;br /&gt;
&lt;br /&gt;
Note: per discussion 2011-321 in #whatwg IRC, and explicitly noting that iCalendar RFC 5545 omits year and month durations from its subset of ISO8601 duration syntax, this proposal also omits year and month durations. Without documented examples of in-the-wild publishing weeks durations (which are present in iCalendar), they are also omitted. Documentation of real world examples may help reconsideration of weeks durations.&lt;br /&gt;
&lt;br /&gt;
=== duration examples ===&lt;br /&gt;
&amp;lt;pre&amp;gt;Typical bims are &amp;lt;time datetime=&amp;quot;P61D&amp;quot;&amp;gt;61 days&amp;lt;/time&amp;gt; long.&amp;lt;/pre&amp;gt; (source: [http://newcal.org/#bimdefinition NewCalendar bim defintion])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;The Game Has Changed&amp;quot; &amp;lt;time datetime=&amp;quot;P3M,25S&amp;quot;&amp;gt;3:25&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [https://secure.wikimedia.org/wikipedia/en/wiki/Tron:_Legacy_%28soundtrack%29#Track_listing Wikipedia: TRON:Legacy soundtrack track listing])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Length &amp;lt;time datetime=&amp;quot;P42M,59S&amp;quot;&amp;gt;42:59&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [https://secure.wikimedia.org/wikipedia/en/wiki/The_Dark_Side_of_the_Moon Wikipedia: The Dark Side of the Moon]); existing markup is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;tr class=&amp;quot;&amp;quot;&amp;gt; &lt;br /&gt;
&amp;lt;th scope=&amp;quot;row&amp;quot; style=&amp;quot;text-align:left;&amp;quot;&amp;gt;Length&amp;lt;/th&amp;gt; &lt;br /&gt;
&amp;lt;td class=&amp;quot;&amp;quot; style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;duration&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;min&amp;quot;&amp;gt;42&amp;lt;/span&amp;gt;:&amp;lt;span class=&amp;quot;s&amp;quot;&amp;gt;59&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
within an hAudio microformat.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;The movie is &amp;lt;time datetime=&amp;quot;96m&amp;quot;&amp;gt;96 min.&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [http://www.imdb.com/title/tt0084827/ IMDB:TRON])&lt;br /&gt;
&lt;br /&gt;
=== duration faq ===&lt;br /&gt;
* Q: Why not re-use the literal [https://secure.wikimedia.org/wikipedia/en/wiki/ISO_8601#Durations ISO 8601 duration] syntax?&lt;br /&gt;
** A: The ISO 8601 duration PnYnMnDTnHnMnS is quite human unfriendly and thus increases the chances of DRY violation based duplicate data drift. We&#039;ve had experience with the usability/readability problems of the ISO8601 datetime syntax just with the T and without dashes &amp;quot;-&amp;quot; or colons &amp;quot;:&amp;quot; between the date and time components respectively, and it is not unreasonable ton conclude that similar usability/readability problems exist with the unpunctuated duration syntax PnYnMnDTnHnMnS. Thus we make a few explicit changes from the ISO 8601 duration syntax to eliminate those problems:&lt;br /&gt;
*** &amp;quot;,&amp;quot; comma separated duration components (much more readable for humans)&lt;br /&gt;
*** dropping of the &amp;quot;T&amp;quot; between date and time components&lt;br /&gt;
*** reserve &amp;quot;Mo&amp;quot; standard abbreviation for Months for future disambiguation.&lt;br /&gt;
&lt;br /&gt;
=== duration discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Tantek (proposer).&lt;br /&gt;
* +1 Singpolyma, though I think I&#039;d prefer to also support the actual syntax if someone uses it&lt;br /&gt;
** +1 on your suggestion of also supporting the ISO-8601 duration format literally - since we can do so without conflict. [[User:Tantek|Tantek]] 02:55, 15 July 2011 (UTC)&lt;br /&gt;
** Note: I&#039;ve updated this proposal since your comment (dropping months, years, and updating syntax), please feel free to follow-up with an updated opinion. [[User:Tantek|Tantek]] 06:07, 18 November 2011 (UTC)&lt;br /&gt;
** updated accordingly. [[User:Tantek|Tantek]] 20:17, 4 November 2011 (UTC)&lt;br /&gt;
* +1 Andy Mabbett ([[User:Pigsonthewing|Pigsonthewing]]) (as Wikipedia editor who deployed hAudio there; see [https://secure.wikimedia.org/wikipedia/en/wiki/Template:Infobox_album Album template] which uses [https://secure.wikimedia.org/wikipedia/en/wiki/Template:Duration Duration template])&lt;br /&gt;
** Note: I&#039;ve updated this proposal since your comment (dropping months and years - neither of which is needed by the examples you provied, and updating the syntax), please feel free to follow-up with an updated opinion. [[User:Tantek|Tantek]] 06:07, 18 November 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additional changes to consider:&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;separate &#039;duration&#039; attribute.&#039;&#039;&#039; It&#039;s been pointed out on IRC that using an attribute called &#039;datetime&#039; for publishing/representing durations is a bit of an abuse. It may introduce some amount of cognitive dissonance for authors as well. Thus one possible fix is to:&lt;br /&gt;
** add an explicit &#039;duration&#039; attribute to the time element for when the time element is used to represent a duration.&lt;br /&gt;
** permit MM:SS and HH:MM:SS syntaxes for the &#039;duration&#039; attribute. Note that the audio duration examples above all use the syntax &amp;quot;MM:SS&amp;quot; where MM can be 1-2 digits.&lt;br /&gt;
* &#039;&#039;&#039;fuzzy durations&#039;&#039;&#039;. &lt;br /&gt;
** [[User:Javarome|Jérôme Beau]]  As per fuzzy dates mentioned above, durations should allow fuziness in durations :&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;P1H&amp;quot; certainty=&amp;quot;P5M&amp;quot;&amp;gt;one hour, more or less five minutes&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;Optionally, when uncertainty differ in past and future, a second, comma-separated duration should be interpreted as the specific future-incertainty.&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;P1H&amp;quot; certainty=&amp;quot;P1M,P30S&amp;quot;&amp;gt;one hour, up to 1 minute shorter or 30 seconds longer&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== timezone ==&lt;br /&gt;
;Status&lt;br /&gt;
:[http://html5.org/tools/web-apps-tracker?from=6826&amp;amp;to=6827 2011-11-18] &#039;&#039;&#039;Adopted in WHATWG HTML.&#039;&#039;&#039; &lt;br /&gt;
;Summary&lt;br /&gt;
:It would be great if the time element could support expressing timezone as well for the use cases as needed by the [http://microformats.org/wiki/hcalendar hCalendar] and other microformats that indicate time (hAtom etc.) as well as other use-cases (Wikipedia, IMDB).&lt;br /&gt;
&lt;br /&gt;
Simple proposal:&lt;br /&gt;
&lt;br /&gt;
* Allow for also parsing the following:&lt;br /&gt;
** -HHMM&lt;br /&gt;
** Z&lt;br /&gt;
** +HHMM&lt;br /&gt;
** Where -, +, and Z are literals.&lt;br /&gt;
** Where HH is a two digit number (zero padded for values less than 10) that represents hours&lt;br /&gt;
** Where MM is a two digit number (zero padded for values less than 10) that represents minutes&lt;br /&gt;
* And interpret the result as a timezone offset.&lt;br /&gt;
&lt;br /&gt;
=== timezone examples ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;code&amp;gt;&amp;amp;lt;time datetime=-0700&amp;amp;gt;Pacific Daylight&amp;amp;lt;/time&amp;amp;gt;&amp;lt;/pre&amp;gt; (source: [https://twitter.com/t/status/132158056736899073] in reply to [https://twitter.com/brucel/status/132152499032440833])&lt;br /&gt;
&lt;br /&gt;
... more examples welcome (e.g. see [http://microformats.org/wiki/hcalendar-examples-in-wild] for extracting more)&lt;br /&gt;
&lt;br /&gt;
=== timezone discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Tantek (proposer).&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== tz attribute ==&lt;br /&gt;
As quoted from the part of [http://www.w3.org/wiki/User:Mtanalin/time_element#h-simplify-datetime this proposal by Marat Tanalin].&lt;br /&gt;
&lt;br /&gt;
;Status&lt;br /&gt;
:new&lt;br /&gt;
;Summary&lt;br /&gt;
:Add dedicated @tz attribute to specify exact timezone (if any)&lt;br /&gt;
&lt;br /&gt;
&amp;quot;@tz attribute can contain timezone offset in hours (with leading dash used in value for negative offsets).&lt;br /&gt;
&lt;br /&gt;
Note that @tz attribute has nothing to do with timezone as TIME element value itself. @tz attribute is intended to be used in conjunction with datetime value provided separately: either by element&#039;s contents or by @datetime attribute value.&lt;br /&gt;
&lt;br /&gt;
Advantage of using dedicated attribute for timezone is that it can be applied to date represented by TIME element&#039;s &amp;lt;em&amp;gt;contents&amp;lt;/em&amp;gt;, thus preventing authors from duplicating date partially or entirely in both contents &amp;lt;em&amp;gt;and&amp;lt;/em&amp;gt; @datetime attribute.&lt;br /&gt;
&lt;br /&gt;
The @tz attribute is optional.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== tz attribute examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;amp;lt;time &amp;lt;strong&amp;gt;tz=&amp;quot;-8&amp;quot;&amp;lt;/strong&amp;gt;&amp;amp;gt;2011-11-12 19:20&amp;amp;lt;/time&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== tz attribute discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Marat Tanalin (proposer) per [http://www.w3.org/wiki/User:Mtanalin/time_element#h-simplify-datetime this proposal]&lt;br /&gt;
* -1 Tantek - I think separating machine datetime data into multiple attributes is not as reliable as always just using one (the current &amp;quot;datetime&amp;quot;) attribute, especially from an authoring data quality expectations perspective.&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
;Status&lt;br /&gt;
:[http://html5.org/tools/web-apps-tracker?from=6830&amp;amp;to=6831 2011-11-18] &#039;&#039;&#039;Fixed in WHATWG HTML&#039;&#039;&#039;. See also [http://www.w3.org/Bugs/Public/show_bug.cgi?id=14696 bug 14696].&lt;br /&gt;
;Summary&lt;br /&gt;
:please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/spec.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;br /&gt;
&lt;br /&gt;
[[Category:Proposals]]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=6733</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=6733"/>
		<updated>2011-07-14T20:33:46Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* duration discussion */ fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
* Photo date taken&lt;br /&gt;
** [http://laughingmeme.org/2011/06/02/flourishes-craftsmanship-dates-history-and-flickr/ Flickr supports year and circa dates] - &amp;quot;Flickr taken dates come in 4 levels of granularity, exact, year-month, year, and circa.&amp;quot;&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
* Relative dates in texts: news websites and blogs often use phrases such as&lt;br /&gt;
** &amp;quot;damages during last year&#039;s Gaza offensive&amp;quot; [http://www.un.org/apps/news/story.asp?NewsID=33559],&lt;br /&gt;
** &amp;quot;recession next year almost inevitable&amp;quot; [http://www.reuters.com/article/idUSTRE65E5K520100615]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next year I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only next steps ===&lt;br /&gt;
Per this edit/comment from Ian: http://lists.w3.org/Archives/Public/public-html-diffs/2010Aug/0234.html&lt;br /&gt;
&lt;br /&gt;
We need to help create a CSS feature for styling dates to local conventions (e.g. 2000-12-31 vs 31-12-2000 vs 12-31-2000 vs Japanese conventions for year and year-month).  Once such a CSS feature exists, it will apparently provide additional weight for including year-only dates in the time element.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Photo date taken&lt;br /&gt;
** [http://laughingmeme.org/2011/06/02/flourishes-craftsmanship-dates-history-and-flickr/ Flickr supports year-month dates] - &amp;quot;Flickr taken dates come in 4 levels of granularity, exact, year-month, year, and circa.&amp;quot;&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL)&lt;br /&gt;
* Restyling dates for localisation and to follow user conventions&lt;br /&gt;
** 2010-08 to 08-2010 to 平22年8月 to 2010年8月 (all acceptable ways to represent August 2010 in Japan)&lt;br /&gt;
* Relative dates in text: news websites, blogs and statistical institutes often use phrases like:&lt;br /&gt;
** &amp;quot;in June 2010, the turnover […] decreased by 10.5% compared to the same month of the previous year.&amp;quot; [http://www.nsi.bg/eventen.php?n=568]&lt;br /&gt;
** &amp;quot;George W. Bush leaves office in January next year&amp;quot; [http://afp.google.com/article/ALeqM5hm2kKrBzl5p5Psm-EryzKK_m8H_A]&lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] As with the year example above, this would be useful for semantically marking up year-month dates, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year, and 月 after the month). Having this data semantically notated would help make the use in Japan of 2-digit years on credit cards and in e-commerce more accessible. Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). [ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next January I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month next steps ===&lt;br /&gt;
Per this edit/comment from Ian: http://lists.w3.org/Archives/Public/public-html-diffs/2010Aug/0234.html&lt;br /&gt;
&lt;br /&gt;
We need to help create a CSS feature for styling dates to local conventions (e.g. 2000-12-31 vs 31-12-2000 vs 12-31-2000 vs Japanese conventions for year and year-month).  Once such a CSS feature exists, it will apparently provide additional weight for including year-month dates in the time element.&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and allow eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;) in a manner to be determined; perhaps once defined by EDTF efforts.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* -1 [[User:Ocolon|Martin Janecke]] - I don&#039;t object to the idea of fuzzy dates in general (a well defined certainty attribute sounds interesting) but this doesn&#039;t seem to be well thought through yet. E.g. &amp;quot;bronze age&amp;quot; rather defines a stage of development of a culture than a time, just as &amp;quot;adolescence&amp;quot; does for a human. The time element could be suitable for adding markup to the term &amp;quot;bronze age&amp;quot; in a text talking about a specific culture. But you would really add markup to the term, not use this term as time markup, exactly because &amp;quot;bronze age&amp;quot; does not tell a time. Please don&#039;t make the time element too unspecific as I am afraid this would reduce its usability rather than adding to it. [[User:Ocolon|Ocolon]] 12:54, 22 August 2010 (UTC)&lt;br /&gt;
**It is not proposed to define terms like &amp;quot;bronze age&amp;quot; here; but to cater for a) any definitions emerging from the EDTF efforts and/or b) a publisher using their own definition, such as, say &amp;lt;code&amp;gt;&amp;lt;time datetime=&amp;quot;[3300-1200 BC]&amp;quot;&amp;gt;Bronze age&amp;lt;/time&amp;gt;&amp;lt;/code&amp;gt;. It&#039;s not that &amp;quot;this isn&#039;t well thought through&amp;quot; so much as &amp;quot;this is brought here for the community to think through&amp;quot;. [[User:Pigsonthewing|Pigsonthewing]] 22:34, 22 August 2010 (UTC)&lt;br /&gt;
*** I wrote &amp;quot;this doesn&#039;t seem to be well thought through &#039;&#039;&#039;yet&#039;&#039;&#039;&amp;quot;, of course implying this can change. Thanks for the details on the &amp;quot;bronze age&amp;quot; example. Should the introduction sentence to the [http://wiki.whatwg.org/index.php?title=Time_element&amp;amp;oldid=5419#Fuzzy_dates fuzzy date section] be edited to reflect this? Currently it does propose &amp;quot;bronze age&amp;quot; etc. as examples for future time values. [[User:Ocolon|Ocolon]] 01:17, 23 August 2010 (UTC)&lt;br /&gt;
****Done. [[User:Pigsonthewing|Pigsonthewing]] 11:24, 23 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* Documenting pre-Gregorian time travel in science fiction&lt;br /&gt;
**[http://www.guardian.co.uk/news/datablog/2010/aug/20/doctor-who-time-travel-information-is-beautiful Dr Who time travel]&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* 0 [[User:Ocolon|Martin Janecke]] - I&#039;m afraid the current proposal is too &amp;quot;Western World&amp;quot; centered. If you plan to allow Julian and Gregorian dates – what about the Islamic, Chinese, Hebrew, …, Mesopotamian and Mayan calenders? I don&#039;t mean to say we mustn&#039;t incorporate other calender scales – but if we do, we&#039;ll probably have to implement all of them, making things easier in some and much more complicated in many aspects. This could result in many parsers not being able to understand many of the dates, making the time element less useful. I&#039;d rather use just one scale as it is in the spec right now. The Gregorian calender is an international standard, so it should be fine. But I don&#039;t know if it is right to expect others to use &amp;quot;my&amp;quot; calendar (which the Gregorian calender is), hence the neutral vote.&lt;br /&gt;
**Dates from 2000+ years ago in non-European calendars such as those you mention can be converted to Julian calendar dates (but not Gregorian dates), just as modern dates in those calendars can be converted to the Gregorian calendar. The use of Julian extends the range of dates which can be expressed. [[User:Pigsonthewing|Pigsonthewing]] 22:40, 22 August 2010 (UTC)&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Other types of time =&lt;br /&gt;
== duration ==&lt;br /&gt;
It would be great if the time element could support expressing durations as well for the use cases as needed by the [http://microformats.org/wiki/hmedia hMedia] and [http://microformats.org/wiki/haudio hAudio] microformats as well as other use-cases (Wikipedia, IMDB).&lt;br /&gt;
&lt;br /&gt;
Simple proposal:&lt;br /&gt;
&lt;br /&gt;
* Allow for also parsing the following:&lt;br /&gt;
** PnY,nMo,nD,nH,nMin,nS&lt;br /&gt;
** where P, Y, Mo, D, H, Min, S are case-insensitive literals.&lt;br /&gt;
** n is a fixed point number expressible with a decimal point&lt;br /&gt;
** and the intervening commas &#039;,&#039; are required when more than one time duration unit is given.&lt;br /&gt;
&lt;br /&gt;
=== duration examples ===&lt;br /&gt;
&amp;lt;pre&amp;gt;Typical bims are &amp;lt;time datetime=&amp;quot;P61D&amp;quot;&amp;gt;61 days&amp;lt;/time&amp;gt; long.&amp;lt;/pre&amp;gt; (source: [http://newcal.org/#bimdefinition NewCalendar bim defintion])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;The Game Has Changed&amp;quot; &amp;lt;time datetime=&amp;quot;P3Min,25S&amp;quot;&amp;gt;3:25&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [https://secure.wikimedia.org/wikipedia/en/wiki/Tron:_Legacy_%28soundtrack%29#Track_listing Wikipedia: TRON:Legacy soundtrack track listing])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Length &amp;lt;time datetime=&amp;quot;P42Min,59S&amp;quot;&amp;gt;42:59&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [https://secure.wikimedia.org/wikipedia/en/wiki/The_Dark_Side_of_the_Moon Wikipedia: The Dark Side of the Moon]); existing markup is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;tr class=&amp;quot;&amp;quot;&amp;gt; &lt;br /&gt;
&amp;lt;th scope=&amp;quot;row&amp;quot; style=&amp;quot;text-align:left;&amp;quot;&amp;gt;Length&amp;lt;/th&amp;gt; &lt;br /&gt;
&amp;lt;td class=&amp;quot;&amp;quot; style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;duration&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;min&amp;quot;&amp;gt;42&amp;lt;/span&amp;gt;:&amp;lt;span class=&amp;quot;s&amp;quot;&amp;gt;59&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
within an hAudio microformat.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;The movie is &amp;lt;time datetime=&amp;quot;P96min&amp;quot;&amp;gt;96 min.&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [http://www.imdb.com/title/tt0084827/ IMDB:TRON])&lt;br /&gt;
&lt;br /&gt;
=== duration faq ===&lt;br /&gt;
* Q: Why not re-use the literal [https://secure.wikimedia.org/wikipedia/en/wiki/ISO_8601#Durations ISO 8601 duration] syntax?&lt;br /&gt;
** A: The ISO 8601 duration PnYnMnDTnHnMnS is quite human unfriendly and thus increases the chances of DRY violation based duplicate data drift. We&#039;ve had experience with the usability/readability problems of the ISO8601 datetime syntax just with the T and without dashes &amp;quot;-&amp;quot; or colons &amp;quot;:&amp;quot; between the date and time components respectively, and it is not unreasonable ton conclude that similar usability/readability problems exist with the unpunctuated duration syntax PnYnMnDTnHnMnS. Thus we make a few explicit changes from the ISO 8601 duration syntax to eliminate those problems:&lt;br /&gt;
*** &amp;quot;,&amp;quot; comma separated duration components (much more readable for humans)&lt;br /&gt;
*** dropping of the &amp;quot;T&amp;quot; between date and time components&lt;br /&gt;
*** &amp;quot;Mo&amp;quot; and &amp;quot;Min&amp;quot; standard abbreviations for Months and Minutes for disambiguation.&lt;br /&gt;
&lt;br /&gt;
=== duration discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Tantek (proposer).&lt;br /&gt;
* +1 Singpolyma, though I think I&#039;d prefer to also support the actual syntax if someone uses it&lt;br /&gt;
* +1 Andy Mabbett ([[User:Pigsonthewing|Pigsonthewing]]) (as Wikipedia editor who deployed hAudio there; see [https://secure.wikimedia.org/wikipedia/en/wiki/Template:Infobox_album Album template] which uses [https://secure.wikimedia.org/wikipedia/en/wiki/Template:Duration Duration template])&lt;br /&gt;
&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/spec.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;br /&gt;
&lt;br /&gt;
[[Category:Proposals]]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=6732</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=6732"/>
		<updated>2011-07-14T20:33:11Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* duration examples */ ce&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
* Photo date taken&lt;br /&gt;
** [http://laughingmeme.org/2011/06/02/flourishes-craftsmanship-dates-history-and-flickr/ Flickr supports year and circa dates] - &amp;quot;Flickr taken dates come in 4 levels of granularity, exact, year-month, year, and circa.&amp;quot;&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
* Relative dates in texts: news websites and blogs often use phrases such as&lt;br /&gt;
** &amp;quot;damages during last year&#039;s Gaza offensive&amp;quot; [http://www.un.org/apps/news/story.asp?NewsID=33559],&lt;br /&gt;
** &amp;quot;recession next year almost inevitable&amp;quot; [http://www.reuters.com/article/idUSTRE65E5K520100615]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next year I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only next steps ===&lt;br /&gt;
Per this edit/comment from Ian: http://lists.w3.org/Archives/Public/public-html-diffs/2010Aug/0234.html&lt;br /&gt;
&lt;br /&gt;
We need to help create a CSS feature for styling dates to local conventions (e.g. 2000-12-31 vs 31-12-2000 vs 12-31-2000 vs Japanese conventions for year and year-month).  Once such a CSS feature exists, it will apparently provide additional weight for including year-only dates in the time element.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Photo date taken&lt;br /&gt;
** [http://laughingmeme.org/2011/06/02/flourishes-craftsmanship-dates-history-and-flickr/ Flickr supports year-month dates] - &amp;quot;Flickr taken dates come in 4 levels of granularity, exact, year-month, year, and circa.&amp;quot;&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL)&lt;br /&gt;
* Restyling dates for localisation and to follow user conventions&lt;br /&gt;
** 2010-08 to 08-2010 to 平22年8月 to 2010年8月 (all acceptable ways to represent August 2010 in Japan)&lt;br /&gt;
* Relative dates in text: news websites, blogs and statistical institutes often use phrases like:&lt;br /&gt;
** &amp;quot;in June 2010, the turnover […] decreased by 10.5% compared to the same month of the previous year.&amp;quot; [http://www.nsi.bg/eventen.php?n=568]&lt;br /&gt;
** &amp;quot;George W. Bush leaves office in January next year&amp;quot; [http://afp.google.com/article/ALeqM5hm2kKrBzl5p5Psm-EryzKK_m8H_A]&lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] As with the year example above, this would be useful for semantically marking up year-month dates, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year, and 月 after the month). Having this data semantically notated would help make the use in Japan of 2-digit years on credit cards and in e-commerce more accessible. Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). [ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next January I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month next steps ===&lt;br /&gt;
Per this edit/comment from Ian: http://lists.w3.org/Archives/Public/public-html-diffs/2010Aug/0234.html&lt;br /&gt;
&lt;br /&gt;
We need to help create a CSS feature for styling dates to local conventions (e.g. 2000-12-31 vs 31-12-2000 vs 12-31-2000 vs Japanese conventions for year and year-month).  Once such a CSS feature exists, it will apparently provide additional weight for including year-month dates in the time element.&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and allow eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;) in a manner to be determined; perhaps once defined by EDTF efforts.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* -1 [[User:Ocolon|Martin Janecke]] - I don&#039;t object to the idea of fuzzy dates in general (a well defined certainty attribute sounds interesting) but this doesn&#039;t seem to be well thought through yet. E.g. &amp;quot;bronze age&amp;quot; rather defines a stage of development of a culture than a time, just as &amp;quot;adolescence&amp;quot; does for a human. The time element could be suitable for adding markup to the term &amp;quot;bronze age&amp;quot; in a text talking about a specific culture. But you would really add markup to the term, not use this term as time markup, exactly because &amp;quot;bronze age&amp;quot; does not tell a time. Please don&#039;t make the time element too unspecific as I am afraid this would reduce its usability rather than adding to it. [[User:Ocolon|Ocolon]] 12:54, 22 August 2010 (UTC)&lt;br /&gt;
**It is not proposed to define terms like &amp;quot;bronze age&amp;quot; here; but to cater for a) any definitions emerging from the EDTF efforts and/or b) a publisher using their own definition, such as, say &amp;lt;code&amp;gt;&amp;lt;time datetime=&amp;quot;[3300-1200 BC]&amp;quot;&amp;gt;Bronze age&amp;lt;/time&amp;gt;&amp;lt;/code&amp;gt;. It&#039;s not that &amp;quot;this isn&#039;t well thought through&amp;quot; so much as &amp;quot;this is brought here for the community to think through&amp;quot;. [[User:Pigsonthewing|Pigsonthewing]] 22:34, 22 August 2010 (UTC)&lt;br /&gt;
*** I wrote &amp;quot;this doesn&#039;t seem to be well thought through &#039;&#039;&#039;yet&#039;&#039;&#039;&amp;quot;, of course implying this can change. Thanks for the details on the &amp;quot;bronze age&amp;quot; example. Should the introduction sentence to the [http://wiki.whatwg.org/index.php?title=Time_element&amp;amp;oldid=5419#Fuzzy_dates fuzzy date section] be edited to reflect this? Currently it does propose &amp;quot;bronze age&amp;quot; etc. as examples for future time values. [[User:Ocolon|Ocolon]] 01:17, 23 August 2010 (UTC)&lt;br /&gt;
****Done. [[User:Pigsonthewing|Pigsonthewing]] 11:24, 23 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* Documenting pre-Gregorian time travel in science fiction&lt;br /&gt;
**[http://www.guardian.co.uk/news/datablog/2010/aug/20/doctor-who-time-travel-information-is-beautiful Dr Who time travel]&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* 0 [[User:Ocolon|Martin Janecke]] - I&#039;m afraid the current proposal is too &amp;quot;Western World&amp;quot; centered. If you plan to allow Julian and Gregorian dates – what about the Islamic, Chinese, Hebrew, …, Mesopotamian and Mayan calenders? I don&#039;t mean to say we mustn&#039;t incorporate other calender scales – but if we do, we&#039;ll probably have to implement all of them, making things easier in some and much more complicated in many aspects. This could result in many parsers not being able to understand many of the dates, making the time element less useful. I&#039;d rather use just one scale as it is in the spec right now. The Gregorian calender is an international standard, so it should be fine. But I don&#039;t know if it is right to expect others to use &amp;quot;my&amp;quot; calendar (which the Gregorian calender is), hence the neutral vote.&lt;br /&gt;
**Dates from 2000+ years ago in non-European calendars such as those you mention can be converted to Julian calendar dates (but not Gregorian dates), just as modern dates in those calendars can be converted to the Gregorian calendar. The use of Julian extends the range of dates which can be expressed. [[User:Pigsonthewing|Pigsonthewing]] 22:40, 22 August 2010 (UTC)&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Other types of time =&lt;br /&gt;
== duration ==&lt;br /&gt;
It would be great if the time element could support expressing durations as well for the use cases as needed by the [http://microformats.org/wiki/hmedia hMedia] and [http://microformats.org/wiki/haudio hAudio] microformats as well as other use-cases (Wikipedia, IMDB).&lt;br /&gt;
&lt;br /&gt;
Simple proposal:&lt;br /&gt;
&lt;br /&gt;
* Allow for also parsing the following:&lt;br /&gt;
** PnY,nMo,nD,nH,nMin,nS&lt;br /&gt;
** where P, Y, Mo, D, H, Min, S are case-insensitive literals.&lt;br /&gt;
** n is a fixed point number expressible with a decimal point&lt;br /&gt;
** and the intervening commas &#039;,&#039; are required when more than one time duration unit is given.&lt;br /&gt;
&lt;br /&gt;
=== duration examples ===&lt;br /&gt;
&amp;lt;pre&amp;gt;Typical bims are &amp;lt;time datetime=&amp;quot;P61D&amp;quot;&amp;gt;61 days&amp;lt;/time&amp;gt; long.&amp;lt;/pre&amp;gt; (source: [http://newcal.org/#bimdefinition NewCalendar bim defintion])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;The Game Has Changed&amp;quot; &amp;lt;time datetime=&amp;quot;P3Min,25S&amp;quot;&amp;gt;3:25&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [https://secure.wikimedia.org/wikipedia/en/wiki/Tron:_Legacy_%28soundtrack%29#Track_listing Wikipedia: TRON:Legacy soundtrack track listing])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Length &amp;lt;time datetime=&amp;quot;P42Min,59S&amp;quot;&amp;gt;42:59&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [https://secure.wikimedia.org/wikipedia/en/wiki/The_Dark_Side_of_the_Moon Wikipedia: The Dark Side of the Moon]); existing markup is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;tr class=&amp;quot;&amp;quot;&amp;gt; &lt;br /&gt;
&amp;lt;th scope=&amp;quot;row&amp;quot; style=&amp;quot;text-align:left;&amp;quot;&amp;gt;Length&amp;lt;/th&amp;gt; &lt;br /&gt;
&amp;lt;td class=&amp;quot;&amp;quot; style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;duration&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;min&amp;quot;&amp;gt;42&amp;lt;/span&amp;gt;:&amp;lt;span class=&amp;quot;s&amp;quot;&amp;gt;59&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
within an hAudio microformat.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;The movie is &amp;lt;time datetime=&amp;quot;P96min&amp;quot;&amp;gt;96 min.&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [http://www.imdb.com/title/tt0084827/ IMDB:TRON])&lt;br /&gt;
&lt;br /&gt;
=== duration faq ===&lt;br /&gt;
* Q: Why not re-use the literal [https://secure.wikimedia.org/wikipedia/en/wiki/ISO_8601#Durations ISO 8601 duration] syntax?&lt;br /&gt;
** A: The ISO 8601 duration PnYnMnDTnHnMnS is quite human unfriendly and thus increases the chances of DRY violation based duplicate data drift. We&#039;ve had experience with the usability/readability problems of the ISO8601 datetime syntax just with the T and without dashes &amp;quot;-&amp;quot; or colons &amp;quot;:&amp;quot; between the date and time components respectively, and it is not unreasonable ton conclude that similar usability/readability problems exist with the unpunctuated duration syntax PnYnMnDTnHnMnS. Thus we make a few explicit changes from the ISO 8601 duration syntax to eliminate those problems:&lt;br /&gt;
*** &amp;quot;,&amp;quot; comma separated duration components (much more readable for humans)&lt;br /&gt;
*** dropping of the &amp;quot;T&amp;quot; between date and time components&lt;br /&gt;
*** &amp;quot;Mo&amp;quot; and &amp;quot;Min&amp;quot; standard abbreviations for Months and Minutes for disambiguation.&lt;br /&gt;
&lt;br /&gt;
=== duration discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Tantek (proposer).&lt;br /&gt;
* +1 Singpolyma, though I think I&#039;d prefer to also support the actual syntax if someone uses it&lt;br /&gt;
* +1 20:23, 14 July 2011 (UTC) (as Wikipedia editor who deployed hAudio there)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/spec.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;br /&gt;
&lt;br /&gt;
[[Category:Proposals]]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=6731</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=6731"/>
		<updated>2011-07-14T20:32:29Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* duration examples */ +1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
* Photo date taken&lt;br /&gt;
** [http://laughingmeme.org/2011/06/02/flourishes-craftsmanship-dates-history-and-flickr/ Flickr supports year and circa dates] - &amp;quot;Flickr taken dates come in 4 levels of granularity, exact, year-month, year, and circa.&amp;quot;&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
* Relative dates in texts: news websites and blogs often use phrases such as&lt;br /&gt;
** &amp;quot;damages during last year&#039;s Gaza offensive&amp;quot; [http://www.un.org/apps/news/story.asp?NewsID=33559],&lt;br /&gt;
** &amp;quot;recession next year almost inevitable&amp;quot; [http://www.reuters.com/article/idUSTRE65E5K520100615]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next year I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only next steps ===&lt;br /&gt;
Per this edit/comment from Ian: http://lists.w3.org/Archives/Public/public-html-diffs/2010Aug/0234.html&lt;br /&gt;
&lt;br /&gt;
We need to help create a CSS feature for styling dates to local conventions (e.g. 2000-12-31 vs 31-12-2000 vs 12-31-2000 vs Japanese conventions for year and year-month).  Once such a CSS feature exists, it will apparently provide additional weight for including year-only dates in the time element.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Photo date taken&lt;br /&gt;
** [http://laughingmeme.org/2011/06/02/flourishes-craftsmanship-dates-history-and-flickr/ Flickr supports year-month dates] - &amp;quot;Flickr taken dates come in 4 levels of granularity, exact, year-month, year, and circa.&amp;quot;&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL)&lt;br /&gt;
* Restyling dates for localisation and to follow user conventions&lt;br /&gt;
** 2010-08 to 08-2010 to 平22年8月 to 2010年8月 (all acceptable ways to represent August 2010 in Japan)&lt;br /&gt;
* Relative dates in text: news websites, blogs and statistical institutes often use phrases like:&lt;br /&gt;
** &amp;quot;in June 2010, the turnover […] decreased by 10.5% compared to the same month of the previous year.&amp;quot; [http://www.nsi.bg/eventen.php?n=568]&lt;br /&gt;
** &amp;quot;George W. Bush leaves office in January next year&amp;quot; [http://afp.google.com/article/ALeqM5hm2kKrBzl5p5Psm-EryzKK_m8H_A]&lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] As with the year example above, this would be useful for semantically marking up year-month dates, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year, and 月 after the month). Having this data semantically notated would help make the use in Japan of 2-digit years on credit cards and in e-commerce more accessible. Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). [ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next January I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month next steps ===&lt;br /&gt;
Per this edit/comment from Ian: http://lists.w3.org/Archives/Public/public-html-diffs/2010Aug/0234.html&lt;br /&gt;
&lt;br /&gt;
We need to help create a CSS feature for styling dates to local conventions (e.g. 2000-12-31 vs 31-12-2000 vs 12-31-2000 vs Japanese conventions for year and year-month).  Once such a CSS feature exists, it will apparently provide additional weight for including year-month dates in the time element.&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and allow eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;) in a manner to be determined; perhaps once defined by EDTF efforts.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* -1 [[User:Ocolon|Martin Janecke]] - I don&#039;t object to the idea of fuzzy dates in general (a well defined certainty attribute sounds interesting) but this doesn&#039;t seem to be well thought through yet. E.g. &amp;quot;bronze age&amp;quot; rather defines a stage of development of a culture than a time, just as &amp;quot;adolescence&amp;quot; does for a human. The time element could be suitable for adding markup to the term &amp;quot;bronze age&amp;quot; in a text talking about a specific culture. But you would really add markup to the term, not use this term as time markup, exactly because &amp;quot;bronze age&amp;quot; does not tell a time. Please don&#039;t make the time element too unspecific as I am afraid this would reduce its usability rather than adding to it. [[User:Ocolon|Ocolon]] 12:54, 22 August 2010 (UTC)&lt;br /&gt;
**It is not proposed to define terms like &amp;quot;bronze age&amp;quot; here; but to cater for a) any definitions emerging from the EDTF efforts and/or b) a publisher using their own definition, such as, say &amp;lt;code&amp;gt;&amp;lt;time datetime=&amp;quot;[3300-1200 BC]&amp;quot;&amp;gt;Bronze age&amp;lt;/time&amp;gt;&amp;lt;/code&amp;gt;. It&#039;s not that &amp;quot;this isn&#039;t well thought through&amp;quot; so much as &amp;quot;this is brought here for the community to think through&amp;quot;. [[User:Pigsonthewing|Pigsonthewing]] 22:34, 22 August 2010 (UTC)&lt;br /&gt;
*** I wrote &amp;quot;this doesn&#039;t seem to be well thought through &#039;&#039;&#039;yet&#039;&#039;&#039;&amp;quot;, of course implying this can change. Thanks for the details on the &amp;quot;bronze age&amp;quot; example. Should the introduction sentence to the [http://wiki.whatwg.org/index.php?title=Time_element&amp;amp;oldid=5419#Fuzzy_dates fuzzy date section] be edited to reflect this? Currently it does propose &amp;quot;bronze age&amp;quot; etc. as examples for future time values. [[User:Ocolon|Ocolon]] 01:17, 23 August 2010 (UTC)&lt;br /&gt;
****Done. [[User:Pigsonthewing|Pigsonthewing]] 11:24, 23 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* Documenting pre-Gregorian time travel in science fiction&lt;br /&gt;
**[http://www.guardian.co.uk/news/datablog/2010/aug/20/doctor-who-time-travel-information-is-beautiful Dr Who time travel]&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* 0 [[User:Ocolon|Martin Janecke]] - I&#039;m afraid the current proposal is too &amp;quot;Western World&amp;quot; centered. If you plan to allow Julian and Gregorian dates – what about the Islamic, Chinese, Hebrew, …, Mesopotamian and Mayan calenders? I don&#039;t mean to say we mustn&#039;t incorporate other calender scales – but if we do, we&#039;ll probably have to implement all of them, making things easier in some and much more complicated in many aspects. This could result in many parsers not being able to understand many of the dates, making the time element less useful. I&#039;d rather use just one scale as it is in the spec right now. The Gregorian calender is an international standard, so it should be fine. But I don&#039;t know if it is right to expect others to use &amp;quot;my&amp;quot; calendar (which the Gregorian calender is), hence the neutral vote.&lt;br /&gt;
**Dates from 2000+ years ago in non-European calendars such as those you mention can be converted to Julian calendar dates (but not Gregorian dates), just as modern dates in those calendars can be converted to the Gregorian calendar. The use of Julian extends the range of dates which can be expressed. [[User:Pigsonthewing|Pigsonthewing]] 22:40, 22 August 2010 (UTC)&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Other types of time =&lt;br /&gt;
== duration ==&lt;br /&gt;
It would be great if the time element could support expressing durations as well for the use cases as needed by the [http://microformats.org/wiki/hmedia hMedia] and [http://microformats.org/wiki/haudio hAudio] microformats as well as other use-cases (Wikipedia, IMDB).&lt;br /&gt;
&lt;br /&gt;
Simple proposal:&lt;br /&gt;
&lt;br /&gt;
* Allow for also parsing the following:&lt;br /&gt;
** PnY,nMo,nD,nH,nMin,nS&lt;br /&gt;
** where P, Y, Mo, D, H, Min, S are case-insensitive literals.&lt;br /&gt;
** n is a fixed point number expressible with a decimal point&lt;br /&gt;
** and the intervening commas &#039;,&#039; are required when more than one time duration unit is given.&lt;br /&gt;
&lt;br /&gt;
=== duration examples ===&lt;br /&gt;
&amp;lt;pre&amp;gt;Typical bims are &amp;lt;time datetime=&amp;quot;P61D&amp;quot;&amp;gt;61 days&amp;lt;/time&amp;gt; long.&amp;lt;/pre&amp;gt; (source: [http://newcal.org/#bimdefinition NewCalendar bim defintion])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;The Game Has Changed&amp;quot; &amp;lt;time datetime=&amp;quot;P3Min,25S&amp;quot;&amp;gt;3:25&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [https://secure.wikimedia.org/wikipedia/en/wiki/Tron:_Legacy_%28soundtrack%29#Track_listing Wikipedia: TRON:Legacy soundtrack track listing])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Length &amp;lt;time datetime=&amp;quot;P42Min,59S&amp;quot;&amp;gt;42:59&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [https://secure.wikimedia.org/wikipedia/en/wiki/The_Dark_Side_of_the_Moon Wikipedia: The Dark Side of the Moon]) &lt;br /&gt;
Existing markup is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;tr class=&amp;quot;&amp;quot;&amp;gt; &lt;br /&gt;
&amp;lt;th scope=&amp;quot;row&amp;quot; style=&amp;quot;text-align:left;&amp;quot;&amp;gt;Length&amp;lt;/th&amp;gt; &lt;br /&gt;
&amp;lt;td class=&amp;quot;&amp;quot; style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;duration&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;min&amp;quot;&amp;gt;42&amp;lt;/span&amp;gt;:&amp;lt;span class=&amp;quot;s&amp;quot;&amp;gt;59&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt; &lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
within an hAudio microformat.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;The movie is &amp;lt;time datetime=&amp;quot;P96min&amp;quot;&amp;gt;96 min.&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [http://www.imdb.com/title/tt0084827/ IMDB:TRON])&lt;br /&gt;
&lt;br /&gt;
=== duration faq ===&lt;br /&gt;
* Q: Why not re-use the literal [https://secure.wikimedia.org/wikipedia/en/wiki/ISO_8601#Durations ISO 8601 duration] syntax?&lt;br /&gt;
** A: The ISO 8601 duration PnYnMnDTnHnMnS is quite human unfriendly and thus increases the chances of DRY violation based duplicate data drift. We&#039;ve had experience with the usability/readability problems of the ISO8601 datetime syntax just with the T and without dashes &amp;quot;-&amp;quot; or colons &amp;quot;:&amp;quot; between the date and time components respectively, and it is not unreasonable ton conclude that similar usability/readability problems exist with the unpunctuated duration syntax PnYnMnDTnHnMnS. Thus we make a few explicit changes from the ISO 8601 duration syntax to eliminate those problems:&lt;br /&gt;
*** &amp;quot;,&amp;quot; comma separated duration components (much more readable for humans)&lt;br /&gt;
*** dropping of the &amp;quot;T&amp;quot; between date and time components&lt;br /&gt;
*** &amp;quot;Mo&amp;quot; and &amp;quot;Min&amp;quot; standard abbreviations for Months and Minutes for disambiguation.&lt;br /&gt;
&lt;br /&gt;
=== duration discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Tantek (proposer).&lt;br /&gt;
* +1 Singpolyma, though I think I&#039;d prefer to also support the actual syntax if someone uses it&lt;br /&gt;
* +1 20:23, 14 July 2011 (UTC) (as Wikipedia editor who deployed hAudio there)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/spec.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;br /&gt;
&lt;br /&gt;
[[Category:Proposals]]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=6730</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=6730"/>
		<updated>2011-07-14T20:23:03Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* duration discussion */ =1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
* Photo date taken&lt;br /&gt;
** [http://laughingmeme.org/2011/06/02/flourishes-craftsmanship-dates-history-and-flickr/ Flickr supports year and circa dates] - &amp;quot;Flickr taken dates come in 4 levels of granularity, exact, year-month, year, and circa.&amp;quot;&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
* Relative dates in texts: news websites and blogs often use phrases such as&lt;br /&gt;
** &amp;quot;damages during last year&#039;s Gaza offensive&amp;quot; [http://www.un.org/apps/news/story.asp?NewsID=33559],&lt;br /&gt;
** &amp;quot;recession next year almost inevitable&amp;quot; [http://www.reuters.com/article/idUSTRE65E5K520100615]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next year I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only next steps ===&lt;br /&gt;
Per this edit/comment from Ian: http://lists.w3.org/Archives/Public/public-html-diffs/2010Aug/0234.html&lt;br /&gt;
&lt;br /&gt;
We need to help create a CSS feature for styling dates to local conventions (e.g. 2000-12-31 vs 31-12-2000 vs 12-31-2000 vs Japanese conventions for year and year-month).  Once such a CSS feature exists, it will apparently provide additional weight for including year-only dates in the time element.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Photo date taken&lt;br /&gt;
** [http://laughingmeme.org/2011/06/02/flourishes-craftsmanship-dates-history-and-flickr/ Flickr supports year-month dates] - &amp;quot;Flickr taken dates come in 4 levels of granularity, exact, year-month, year, and circa.&amp;quot;&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL)&lt;br /&gt;
* Restyling dates for localisation and to follow user conventions&lt;br /&gt;
** 2010-08 to 08-2010 to 平22年8月 to 2010年8月 (all acceptable ways to represent August 2010 in Japan)&lt;br /&gt;
* Relative dates in text: news websites, blogs and statistical institutes often use phrases like:&lt;br /&gt;
** &amp;quot;in June 2010, the turnover […] decreased by 10.5% compared to the same month of the previous year.&amp;quot; [http://www.nsi.bg/eventen.php?n=568]&lt;br /&gt;
** &amp;quot;George W. Bush leaves office in January next year&amp;quot; [http://afp.google.com/article/ALeqM5hm2kKrBzl5p5Psm-EryzKK_m8H_A]&lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] As with the year example above, this would be useful for semantically marking up year-month dates, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year, and 月 after the month). Having this data semantically notated would help make the use in Japan of 2-digit years on credit cards and in e-commerce more accessible. Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). [ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next January I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month next steps ===&lt;br /&gt;
Per this edit/comment from Ian: http://lists.w3.org/Archives/Public/public-html-diffs/2010Aug/0234.html&lt;br /&gt;
&lt;br /&gt;
We need to help create a CSS feature for styling dates to local conventions (e.g. 2000-12-31 vs 31-12-2000 vs 12-31-2000 vs Japanese conventions for year and year-month).  Once such a CSS feature exists, it will apparently provide additional weight for including year-month dates in the time element.&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and allow eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;) in a manner to be determined; perhaps once defined by EDTF efforts.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* -1 [[User:Ocolon|Martin Janecke]] - I don&#039;t object to the idea of fuzzy dates in general (a well defined certainty attribute sounds interesting) but this doesn&#039;t seem to be well thought through yet. E.g. &amp;quot;bronze age&amp;quot; rather defines a stage of development of a culture than a time, just as &amp;quot;adolescence&amp;quot; does for a human. The time element could be suitable for adding markup to the term &amp;quot;bronze age&amp;quot; in a text talking about a specific culture. But you would really add markup to the term, not use this term as time markup, exactly because &amp;quot;bronze age&amp;quot; does not tell a time. Please don&#039;t make the time element too unspecific as I am afraid this would reduce its usability rather than adding to it. [[User:Ocolon|Ocolon]] 12:54, 22 August 2010 (UTC)&lt;br /&gt;
**It is not proposed to define terms like &amp;quot;bronze age&amp;quot; here; but to cater for a) any definitions emerging from the EDTF efforts and/or b) a publisher using their own definition, such as, say &amp;lt;code&amp;gt;&amp;lt;time datetime=&amp;quot;[3300-1200 BC]&amp;quot;&amp;gt;Bronze age&amp;lt;/time&amp;gt;&amp;lt;/code&amp;gt;. It&#039;s not that &amp;quot;this isn&#039;t well thought through&amp;quot; so much as &amp;quot;this is brought here for the community to think through&amp;quot;. [[User:Pigsonthewing|Pigsonthewing]] 22:34, 22 August 2010 (UTC)&lt;br /&gt;
*** I wrote &amp;quot;this doesn&#039;t seem to be well thought through &#039;&#039;&#039;yet&#039;&#039;&#039;&amp;quot;, of course implying this can change. Thanks for the details on the &amp;quot;bronze age&amp;quot; example. Should the introduction sentence to the [http://wiki.whatwg.org/index.php?title=Time_element&amp;amp;oldid=5419#Fuzzy_dates fuzzy date section] be edited to reflect this? Currently it does propose &amp;quot;bronze age&amp;quot; etc. as examples for future time values. [[User:Ocolon|Ocolon]] 01:17, 23 August 2010 (UTC)&lt;br /&gt;
****Done. [[User:Pigsonthewing|Pigsonthewing]] 11:24, 23 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* Documenting pre-Gregorian time travel in science fiction&lt;br /&gt;
**[http://www.guardian.co.uk/news/datablog/2010/aug/20/doctor-who-time-travel-information-is-beautiful Dr Who time travel]&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* 0 [[User:Ocolon|Martin Janecke]] - I&#039;m afraid the current proposal is too &amp;quot;Western World&amp;quot; centered. If you plan to allow Julian and Gregorian dates – what about the Islamic, Chinese, Hebrew, …, Mesopotamian and Mayan calenders? I don&#039;t mean to say we mustn&#039;t incorporate other calender scales – but if we do, we&#039;ll probably have to implement all of them, making things easier in some and much more complicated in many aspects. This could result in many parsers not being able to understand many of the dates, making the time element less useful. I&#039;d rather use just one scale as it is in the spec right now. The Gregorian calender is an international standard, so it should be fine. But I don&#039;t know if it is right to expect others to use &amp;quot;my&amp;quot; calendar (which the Gregorian calender is), hence the neutral vote.&lt;br /&gt;
**Dates from 2000+ years ago in non-European calendars such as those you mention can be converted to Julian calendar dates (but not Gregorian dates), just as modern dates in those calendars can be converted to the Gregorian calendar. The use of Julian extends the range of dates which can be expressed. [[User:Pigsonthewing|Pigsonthewing]] 22:40, 22 August 2010 (UTC)&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Other types of time =&lt;br /&gt;
== duration ==&lt;br /&gt;
It would be great if the time element could support expressing durations as well for the use cases as needed by the [http://microformats.org/wiki/hmedia hMedia] and [http://microformats.org/wiki/haudio hAudio] microformats as well as other use-cases (Wikipedia, IMDB).&lt;br /&gt;
&lt;br /&gt;
Simple proposal:&lt;br /&gt;
&lt;br /&gt;
* Allow for also parsing the following:&lt;br /&gt;
** PnY,nMo,nD,nH,nMin,nS&lt;br /&gt;
** where P, Y, Mo, D, H, Min, S are case-insensitive literals.&lt;br /&gt;
** n is a fixed point number expressible with a decimal point&lt;br /&gt;
** and the intervening commas &#039;,&#039; are required when more than one time duration unit is given.&lt;br /&gt;
&lt;br /&gt;
=== duration examples ===&lt;br /&gt;
&amp;lt;pre&amp;gt;Typical bims are &amp;lt;time datetime=&amp;quot;P61D&amp;quot;&amp;gt;61 days&amp;lt;/time&amp;gt; long.&amp;lt;/pre&amp;gt; (source: [http://newcal.org/#bimdefinition NewCalendar bim defintion])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;The Game Has Changed&amp;quot; &amp;lt;time datetime=&amp;quot;P3Min,25S&amp;quot;&amp;gt;3:25&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [https://secure.wikimedia.org/wikipedia/en/wiki/Tron:_Legacy_%28soundtrack%29#Track_listing Wikipedia: TRON:Legacy soundtrack track listing])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;The movie is &amp;lt;time datetime=&amp;quot;P96min&amp;quot;&amp;gt;96 min.&amp;lt;/time&amp;gt;&amp;lt;/pre&amp;gt; (source: [http://www.imdb.com/title/tt0084827/ IMDB:TRON])&lt;br /&gt;
&lt;br /&gt;
=== duration faq ===&lt;br /&gt;
* Q: Why not re-use the literal [https://secure.wikimedia.org/wikipedia/en/wiki/ISO_8601#Durations ISO 8601 duration] syntax?&lt;br /&gt;
** A: The ISO 8601 duration PnYnMnDTnHnMnS is quite human unfriendly and thus increases the chances of DRY violation based duplicate data drift. We&#039;ve had experience with the usability/readability problems of the ISO8601 datetime syntax just with the T and without dashes &amp;quot;-&amp;quot; or colons &amp;quot;:&amp;quot; between the date and time components respectively, and it is not unreasonable ton conclude that similar usability/readability problems exist with the unpunctuated duration syntax PnYnMnDTnHnMnS. Thus we make a few explicit changes from the ISO 8601 duration syntax to eliminate those problems:&lt;br /&gt;
*** &amp;quot;,&amp;quot; comma separated duration components (much more readable for humans)&lt;br /&gt;
*** dropping of the &amp;quot;T&amp;quot; between date and time components&lt;br /&gt;
*** &amp;quot;Mo&amp;quot; and &amp;quot;Min&amp;quot; standard abbreviations for Months and Minutes for disambiguation.&lt;br /&gt;
&lt;br /&gt;
=== duration discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 Tantek (proposer).&lt;br /&gt;
* +1 Singpolyma, though I think I&#039;d prefer to also support the actual syntax if someone uses it&lt;br /&gt;
* +1 20:23, 14 July 2011 (UTC) (as Wikipedia editor who deployed hAudio there)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/spec.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;br /&gt;
&lt;br /&gt;
[[Category:Proposals]]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=RelExtensions&amp;diff=6324</id>
		<title>RelExtensions</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=RelExtensions&amp;diff=6324"/>
		<updated>2011-03-19T00:14:51Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: Citation Typing Ontology (CiTO)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page lists the allowed extension values for the rel=&amp;quot;&amp;quot; attribute in HTML5. You may add your own values to this list, which makes them legal HTML5 rel values. We ask that you try to avoid redundancy; if someone has already defined a value that does roughly what you want, please reuse it. Note that rel tokens are ASCII-lowercase before comparison against canonical value, so the canonical values should be listed without uppercase ASCII letters.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Keyword&lt;br /&gt;
! Effect on &amp;lt;code&amp;gt;link&amp;lt;/code&amp;gt;&lt;br /&gt;
! Effect on &amp;lt;code&amp;gt;a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;area&amp;lt;/code&amp;gt;&lt;br /&gt;
! Brief description&lt;br /&gt;
! Link to more details&lt;br /&gt;
! Synonyms&lt;br /&gt;
! Status&lt;br /&gt;
|-&lt;br /&gt;
| pronunciation&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| The referenced file contains a set of rules that associates strings of characters (e.g. words) with pronunciation instructions. For example, a rule can define whether the word &amp;quot;tomato&amp;quot; is to be spoken in the british or north-american way. These pronunciation rules should be processed by voice-enabled user-agents (e.g. web browsers that support TTS rendering), but conversely, &amp;quot;pronunciation&amp;quot; link/rel files can be completely ignored by systems that do not have speech capabilities. An example of possible format is W3C PLS (Pronunciation Lexicon Specification), with the MIME type &amp;quot;application/pls+xml&amp;quot; (and usually, the extension &amp;quot;.pls&amp;quot;). When several pronunciation lexicons are referenced within a single HTML document, and/or when a pronunciation rule is specified more than once for a given string of characters, the last occurrence of the rule takes precedence (in document order), such that any previously-defined pronunciation rule gets overridden.&lt;br /&gt;
| [http://www.w3.org/TR/pronunciation-lexicon/ Pronunciation Lexicon Specification (PLS) Version 1.0 (W3C Recommendation 14 October 2008)] &amp;lt;br/&amp;gt; [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7601 Previously-filed bug #7601]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| accessibility&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document contains accessibility information for the linking document.&lt;br /&gt;
| [http://www.brucelawson.co.uk/2009/rel-accessibility/ Bruce Lawson]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| acquaintance&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the person represented by the current document considers the person represented by the referenced document to be an acquaintance&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| admin&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document contains administrative option(s) for the current document and related pages.&lt;br /&gt;
| &lt;br /&gt;
| option&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| ajax&lt;br /&gt;
| not allowed&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The link is controlled through javascript, and will load the page linked to though an ajax interface. Without javascript, it should behave as a normal &amp;quot;a&amp;quot; tag, and content change is done server side.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| alternate&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| answer&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| A link to the answer to the question this section or document asks, e.g. in a FAQ or in a sample exam. Unlike ‘reply’ or ‘comment’ this resource necessarily solves the problem.&lt;br /&gt;
| [[Talk:RelExtensions#Q_and_A|Q&amp;amp;A]]&lt;br /&gt;
| (reply, comment)&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| application-manifest&lt;br /&gt;
| external resource&lt;br /&gt;
| Not allowed&lt;br /&gt;
| A manifest for this web application.  The manifest contains metadata about the web application, such as its name, description, and permissions the application might require.&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| archives&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| author&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| bookmark&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| canonical&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| Robots (e.g., search engines) should treat the document containing the tag as a minor variation of the linked document, which may result in the removal of the former from a web index and in the consolidation of its quality signals in the latter. Links with rel=canonical must not specify a language, type, or different kind of media; the referenced document must have the same language, type and target media.&lt;br /&gt;
| [http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| canonical-domain&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| More than one domain may have largely similar or identical content but only one of the domains should be indexed for search engines. E.g., a company may have short and long domain names for the same content.&lt;br /&gt;
For security against traffic theft, rev must be meaningless.&lt;br /&gt;
| [http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;amp;answer=139066 Google&#039;s analogous service] and [[Talk:RelExtensions#On_canonical-domain.2C_canonical-wwwnone.2C_and_canonical-first|Talk for this page]]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| canonical-first&lt;br /&gt;
| external resource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Where the canonical value should point to a group of pages, but the link can point to only one page, the group of pages can be clarified by choosing the first page in the group and assigning the URL for this rel link.&lt;br /&gt;
For security against traffic theft, rev must be meaningless.&amp;lt;br /&amp;gt;&lt;br /&gt;
This is only shorthand for providing two link elements, one on the noncanonical page to a &amp;quot;canonical&amp;quot; page and the other on the canonical page to the &amp;quot;first&amp;quot; page of the group.&lt;br /&gt;
Where the group of pages corresponds to a subdirectory and a canonical URL value can point to the subdirectory resulting in a user arriving at the subdirectory&#039;s index page which is part of the group, this shorthand is unnecessary and one rel=&amp;quot;canonical&amp;quot; will suffice.&lt;br /&gt;
| [[Talk:RelExtensions#On_canonical-domain.2C_canonical-wwwnone.2C_and_canonical-first|Talk for this page]]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| canonical-human&lt;br /&gt;
| external resource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Pages about a person across many websites can be associated based on name, nationality, birthplace, dates of birth and death, when flourished, and other identifiers.&lt;br /&gt;
Search engines could more consistently aggregate same-person pages with less confusion due to name similarity.&lt;br /&gt;
| [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7681 W3C Bug 7681]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| canonical-organization&lt;br /&gt;
| external resource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Pages about an organization across many websites can be associated based on name, headquarters site, and other identifiers.&lt;br /&gt;
Search engines could more consistently aggregate same-organization pages with less confusion due to name similarity.&lt;br /&gt;
| [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7682 W3C Bug 7682]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| canonical-wwwnone&lt;br /&gt;
| external resource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Both bare and www-prefixed domain names usually direct to the same site. Especially when external links to a site vary in the form used, search engine indexing concentrated on only one domain form may raise its credibility. The rel value is the form preferred for indexing, e.g., href=&amp;quot;http://example.net&amp;quot;. Nothing to the right of the top-level domain is needed.&lt;br /&gt;
For security against traffic theft, rev must be meaningless.&lt;br /&gt;
| [http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;amp;answer=139066 Google&#039;s analogous service] and [[Talk:RelExtensions#On_canonical-domain.2C_canonical-wwwnone.2C_and_canonical-first|Talk for this page]]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| chapter&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Target document is a subdocument of the current document.&lt;br /&gt;
| [http://www.w3.org/TR/html4/types.html#h-6.12 HTML4]&lt;br /&gt;
| section, subsection, appendix&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| child&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person is a child of the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| co-resident&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person lives in the same residence as the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| co-worker&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person is a co-worker of the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| colleague&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person is a colleague of the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| contact&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the person represented by the current document considers the person represented by the referenced document to be a contact&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| contributor&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document is the page/email an agent (people or firm or...) involved in the production of the content, but not his main author(s).&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| crush&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| this person considers the referenced person to be a crush (i.e. has a crush on the referenced person)&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| date&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| this person considers the referenced person to be a date (i.e. is dating the referenced person)&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| dns-prefetch&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| Force the DNS lookup of specific hostnames.&lt;br /&gt;
| [https://developer.mozilla.org/En/Controlling_DNS_prefetching Mozilla DNS Prefetching], &amp;lt;br /&amp;gt;[http://dev.chromium.org/developers/design-documents/dns-prefetching Chromium DNS Prefetching]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| edit&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Target document is an editable version of the current document.&lt;br /&gt;
| [http://bitworking.org/projects/atom/draft-ietf-atompub-protocol-11.html#new-link-relation Atom Protocol]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| edituri&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| a link to an RSD file describing how to edit the given page.&lt;br /&gt;
| [http://cyber.law.harvard.edu/blogs/gems/tech/rsd.htm rsd]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| enclosure&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the destination of the hyperlink is intended to be downloaded and cached.&lt;br /&gt;
| [http://microformats.org/wiki/rel-enclosure rel-enclosure]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| enlarged&lt;br /&gt;
| not allowed&lt;br /&gt;
| hyperlink&lt;br /&gt;
| For anchors that have one child image element, indicates that the linked document is an image file which is the same as the child image element of the link except a larger size (dimensions).&lt;br /&gt;
| [http://dvdgoss.wordpress.com/2010/04/26/the-case-for-relenlarge-in-html5/ David Goss]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| external&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| extension&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Browser extension&lt;br /&gt;
| [http://mozillalabs.com/jetpack/2010/05/12/indexing-and-auto-detecting-browser-extensions-on-the-web/ Mozilla Labs]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| first&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| friend&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the person represented by the current document considers the person represented by the referenced document to be a friend&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| gallery&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| A &#039;&#039;graphic&#039;&#039; index that the current document or section is a part of or that illustrates the same topic.&lt;br /&gt;
| &lt;br /&gt;
| (index, list)&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| glossary&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Target document provides definitions for words in current document.&lt;br /&gt;
| [http://www.w3.org/TR/html4/types.html#h-6.12 HTML4]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| help&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| hub&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| Indicates a URL which implements both sides of the PubSubHubbub protocol.&lt;br /&gt;
| [http://code.google.com/p/pubsubhubbub/ PubSubHubbub]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| i18nrules&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| Target document provides ITS (Internationalization tag Set) rules for processing the current document.&lt;br /&gt;
| [http://www.w3.org/TR/its/ ITS]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| icon&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| index&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| jump&lt;br /&gt;
| not allowed&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Indicates a same page jump from the current fragment to another fragment. (E.g. sometimes online newspapers insert direct text saying &amp;quot;article continues below the image/advert&amp;quot; - they could instead use &amp;quot;jump&amp;quot; link. Ultimately, it indicates a page internal link.)&lt;br /&gt;
| [[Talk:RelExtensions#On_footnote.2C_note.2C_and_jump|Talk]]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| kin&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person is part of the extended family of the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| lang-alt-[ISO 639-1 code]&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document contains a version of the current document in an alternative language. &amp;quot;[ISO 639-1 code]&amp;quot; is replaced with the appropriate [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ISO 639-1 language code]. The ISO 639-1 code is used when the browser (or other user agent) wants to display either the full name of the language or a flag, as a visual aid for the end user.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| lang-orig-[ISO 639-1 code]&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document contains a version of the current document in the language the document was originally written in. &amp;quot;[ISO 639-1 code]&amp;quot; is replaced with the appropriate [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ISO 639-1 language code]. The ISO 639-1 code is used when the browser (or other user agent) wants to display either the full name of the language or a flag, as a visual aid for the end user.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| last&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| latest-version&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The referenced document is the latest version of the current document.&lt;br /&gt;
| [http://www.iana.org/assignments/link-relations/link-relations.txt], [http://tools.ietf.org/search/rfc5829#section-3.2 RFC5829]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| license&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| login&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The login keyword indicates that the referenced document provides an interface (user, pwd) to authenticate a registered user of the page/or to registrate a new user.&lt;br /&gt;
| &lt;br /&gt;
| search&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| logout&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| The linked document provides a resource for the UA to request when all currently open documents of the same &amp;quot;group&amp;quot; are closed (to facilitate logging out the current user).&lt;br /&gt;
| [[LogoutRelExtension]]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span id=&amp;quot;longdesc&amp;quot;&amp;gt;longdesc&amp;lt;/span&amp;gt;&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Related to [http://www.w3.org/html/wg/tracker/issues/30 ISSUE-30]. &amp;lt;br/&amp;gt;&amp;lt;abbr title=&amp;quot;Assistive Technology&amp;quot;&amp;gt;AT&amp;lt;/abbr&amp;gt; should treat an element wrapped in a link with &amp;lt;code&amp;gt;rel=&amp;quot;longdesc&amp;quot;&amp;lt;/code&amp;gt; as equivalent to an element with &amp;lt;code&amp;gt;longdesc=&amp;quot;URI&amp;quot;&amp;lt;/code&amp;gt;. &lt;br /&gt;
| (1) [http://lists.w3.org/Archives/Public/public-html/2007Jun/0738.html Eric Eggert&#039;s original proposal, 25th of June 2007],  &amp;lt;br/&amp;gt;(2) [http://lists.w3.org/Archives/Public/public-html/2007Jun/0798.html Maciej&#039;s comment, 25th of June 2007], &amp;lt;br/&amp;gt;(3) [http://www.w3.org/Bugs/Public/show_bug.cgi?id=10434 Bug 10434, the HTMLwg, 2010]&amp;lt;br/&amp;gt;(4) [http://microformats.org/wiki/existing-rel-values#POSH_usage rel=&amp;quot;longdesc&amp;quot; listed as POSH in Microformats.org]&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;foo longdesc=&amp;quot;URL&amp;quot;/&amp;gt;&amp;lt;/code&amp;gt; &amp;lt;br/&amp;gt;is synonymous to &amp;lt;br/&amp;gt;&amp;lt;code&amp;gt;&amp;amp;lt;a rel=&amp;quot;longdesc&amp;quot; href=&amp;quot;URL&amp;quot;&amp;gt;&amp;amp;lt;foo/&amp;gt;&amp;amp;lt;/a&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| map&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced document represents a map of the location of the subject of the current document; parsers &#039;&#039;may&#039;&#039; use the URI or target page to determine coordinates.&lt;br /&gt;
| to follow&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| me&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced document represents the same person as does the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| met&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| this person has met the referenced person&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| meta&lt;br /&gt;
| external resource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| publishing RDF/FOAF files&lt;br /&gt;
| [http://www.w3.org/TR/1999/REC-rdf-syntax-19990222/#transport RDF], [http://xmlns.com/foaf/spec/#sec-autodesc FOAF]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| muse&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person inspires the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| neighbor&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person lives nearby the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| next&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| next-archive&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| A URI that refers to the immediately following archive document.&lt;br /&gt;
| [http://www.iana.org/assignments/link-relations/link-relations.xhtml Atom Link Relations], &amp;lt;br /&amp;gt;[http://tools.ietf.org/html/rfc5005 RFC5005]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| nofollow&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| noreferrer&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| noprefetch&lt;br /&gt;
| external resource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Denies prefetching (not fetching) as a cost-control option for website owners, especially where pages are dynamic, leading to prefetching of wrong and useless pages.&amp;lt;br /&amp;gt;&lt;br /&gt;
The link provides a per-page denial whereas a and area provide a per-element denial.&amp;lt;br /&amp;gt;&lt;br /&gt;
For link, attributes rel=&amp;quot;noprefetch&amp;quot; denies prefetching of the page at the href URL and rev=&amp;quot;noprefetch&amp;quot; denies prefetching of the page bearing the link.&amp;lt;br /&amp;gt;&lt;br /&gt;
For a and area, rel is as above and rev is meaningless.&lt;br /&gt;
| [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7918 W3C Bug 7918]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| note&lt;br /&gt;
| not allowed&lt;br /&gt;
| hyperlink&lt;br /&gt;
| An in-page or out-page jump to a footnote. This encompasses &#039;&#039;note&#039;&#039;, &#039;&#039;footnote&#039;&#039;, &#039;&#039;endnote&#039;&#039;, and &#039;&#039;sidenote&#039;&#039;.&lt;br /&gt;
| [[Talk:RelExtensions#On_footnote.2C_note.2C_and_jump|Talk]]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| openid.delegate&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| OpenID 1.1 authentication delegation&lt;br /&gt;
| [http://openid.net/specs/openid-authentication-1_1.html#delegating_authentication OpenID specification]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| openid.server&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| OpenID 1.1 authentication delegation&lt;br /&gt;
| [http://openid.net/specs/openid-authentication-1_1.html#delegating_authentication OpenID specification]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| openid2.local_id&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| OpenID 2.0 authentication delegation&lt;br /&gt;
| [http://openid.net/specs/openid-authentication-2_0.html#html_disco OpenID Auth 2.0 section 7.3.3]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| openid2.provider&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| OpenID 2.0 authentication endpoint&lt;br /&gt;
| [http://openid.net/specs/openid-authentication-2_0.html#html_disco OpenID Auth 2.0 section 7.3.3]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| parent&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person is a parent of the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| payment&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| A URI where payment is accepted.&lt;br /&gt;
| [http://www.iana.org/assignments/link-relations/link-relations.xhtml Atom Link Relations]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| pgpkey&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| The linked document is the PGP public key file (which may contain multiple keys) of the author(s) of the page.&lt;br /&gt;
| [http://purl.org/net/pgpkey/], [http://golem.ph.utexas.edu/~distler/blog/archives/000320.html]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| pingback&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| prefetch&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| presentation&lt;br /&gt;
| external resource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Like ‘print’ this relation references a resource that represents the same content or topic, but in a &#039;&#039;very&#039;&#039; different manner. It is similar to media=projection, but is to be used where text is substituted by graphics, animations and sounds, which goes beyond mere style switching.&lt;br /&gt;
This relation is also appropriate for links from thumbnail to full resolution images.&lt;br /&gt;
| &lt;br /&gt;
| slides, slideshow&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| prev&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| prev-archive&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| A URI that refers to the immediately preceding archive document.&lt;br /&gt;
| [http://www.iana.org/assignments/link-relations/link-relations.xhtml Atom Link Relations], &amp;lt;br /&amp;gt;[http://tools.ietf.org/html/rfc5005 RFC5005]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| print&lt;br /&gt;
| external resource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The referenced document is recommended for printing, even though the referent document is capable of being printed and both documents are of the same type, medium, and language. A typical case is where content spread over multiple pages is also available on a single page that is more convenient to print.&lt;br /&gt;
This is semantically more specific than &amp;quot;canonical&amp;quot; and &amp;quot;alternate&amp;quot;. Where type, medium, and/or language differ, consider &amp;quot;alternate&amp;quot;; where any of them differ but the purpose is printing, consider applying both values.&lt;br /&gt;
| [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7645 W3C Bug 7645]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| profile&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| this referenced link is a metadata profile for the current document&lt;br /&gt;
| [http://www.w3.org/TR/html401/struct/global.html#profiles HTML Meta data profiles], &amp;lt;br /&amp;gt;[http://www.w3.org/2003/g/glean-profile Example of profile in a-elements]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| question&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| A link to the question this section or document answers, e.g. in a FAQ or in a sample exam. &lt;br /&gt;
| [[Talk:RelExtensions#Q_and_A|Q&amp;amp;A]]&lt;br /&gt;
| topic, subject, problem, (up)&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| related&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| this referenced link identifies a resource related to the current document&lt;br /&gt;
| [http://tools.ietf.org/html/rfc4287#section-4.2.7 Atom Syndication Format]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| reply&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| A follow-up posting to this document or section or in the thread this document or section is an index of.&lt;br /&gt;
| [[Talk:RelExtensions#Threading|Thread]]&lt;br /&gt;
| posting, comment&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| resource-package&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| The linked document is a zipped resource package&lt;br /&gt;
| [http://limi.net/articles/resource-packages/ Resource Packages]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| resources&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| a higher level alternative to HTTP Content Negotiation for other resources linked from the document, in a yet to be specified format&lt;br /&gt;
|&lt;br /&gt;
| resource-description, content-negotiation&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| reviewer&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| The linked document is the page/email an agent (people or firm or...) responsible for reviewing the content.&lt;br /&gt;
| [http://wiki.csswg.org/test/css2.1/format#reviewer]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| script&lt;br /&gt;
| not allowed&lt;br /&gt;
| not allowed&lt;br /&gt;
| Was proposed to replace &amp;amp;lt;script&amp;gt;. Use &amp;amp;lt;script&amp;gt; instead.&lt;br /&gt;
| none&lt;br /&gt;
| &lt;br /&gt;
| Rejected&lt;br /&gt;
|-&lt;br /&gt;
| search&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| self&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| A URI that refers to a resource equivalent to the containing element.&lt;br /&gt;
| [http://www.iana.org/assignments/link-relations/link-relations.xhtml Atom Link Relations], &amp;lt;br /&amp;gt;[http://tools.ietf.org/html/rfc4287 RFC4287]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| service&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| Points to a resource describing a service API&lt;br /&gt;
| [[ServiceRelExtension]]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| shortlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Identifies a shorter form of the URL for the current document, provided by the document owner.&lt;br /&gt;
| [http://code.google.com/p/shortlink/wiki/Specification shortlink Specification]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| sibling&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person is a sibling of the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| sidebar&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| spouse&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person is a spouse of the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| statechart&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| A reference to an SCXML document that controls the application-flow of the current HTML document&lt;br /&gt;
| [http://www.w3.org/TR/scxml/ SCXML]&lt;br /&gt;
|&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| stylesheet&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| subresource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| The referenced document is a subresource of the current document.&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| sweetheart&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| this person considers the referenced person to be their sweetheart&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| tag&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| technicalauthor&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document is the page/email an agent (people or firm or...) responsible for the technical construction of the page (i.e. the HTML/CSS/PHP code), not for the content.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| thread&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| A hierarchic list of topic(s) and replies where this document or section belongs to either one.&lt;br /&gt;
| [[Talk:RelExtensions#Threading|Thread]]&lt;br /&gt;
| (index)&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| timesheet&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| SMIL Timesheet&lt;br /&gt;
| [http://www.w3.org/TR/timesheets/#smilTimesheetsNS-Elements-Timesheet SMIL Timesheets 1.0]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| topic&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The initial posting this document or section is a reply to or index of.&lt;br /&gt;
| [[Talk:RelExtensions#Threading|Thread]]&lt;br /&gt;
| subject, (top)&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| translatedfrom&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document is the page/email that has been translation source for the current document. It also indicates that the current document is a translation and not an original work.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| translator&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document is the page/email an agent (people or firm or...) responsible for the translation of the page. It also indicates that the current page is a translation of an other document, which should be linked through a rel=&amp;quot;translatedfrom&amp;quot;.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| up&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| us&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The referenced document represents the same organisation as does the current document [cf rel-me]&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| webmaster&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document is the page/email an agent (people or firm or...) available for requests about the content of the page.&lt;br /&gt;
| &lt;br /&gt;
| maintainer&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| widget&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Points to a widget.&lt;br /&gt;
| [http://dev.w3.org/2006/waf/widgets/Overview.html#autodiscovery Widgets 1.0 Editor&#039;s draft]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| wlwmanifest&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| A link to a manifest for Windows Live Writer.&lt;br /&gt;
| [http://msdn.microsoft.com/en-us/library/bb463263.aspx msdn]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- Science: proof, lemma, theorem --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Effect on link&amp;quot; column must either say &amp;quot;not allowed&amp;quot; if the rel value is not allowed on &amp;amp;lt;link&amp;gt; elements, &amp;quot;hyperlink&amp;quot; if the rel value creates a hyperlink, or &amp;quot;external resource&amp;quot; if the rel value creates a link to an external resource.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Effect on a and area&amp;quot; column must either say &amp;quot;not allowed&amp;quot; or &amp;quot;hyperlink&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For the &amp;quot;Status&amp;quot; section to be changed to &amp;quot;Accepted&amp;quot;, the proposed keyword must either have been through the [http://microformats.org/wiki/process Microformats process], and been approved by the Microformats community; or must be defined by a W3C specification in the Candidate Recommendation or Recommendation state. If it fails to go through this process, it is &amp;quot;Rejected&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For more details, see [http://whatwg.org/specs/web-apps/current-work/#linkTypes the HTML5 specification].&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[http://microformats.org/wiki/existing-rel-values the Microformats wiki page on this matter].&lt;br /&gt;
*[http://blogs.plos.org/mfenner/2011/02/14/how-to-use-citation-typing-ontology-cito-in-your-blog-posts/ How to use Citation Typing Ontology (CiTO) in your blog posts] - proposes several values for marking up academic citations, but confuses the direction of the relationship (note comments)&lt;br /&gt;
&lt;br /&gt;
[[Category:Registries]]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5443</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5443"/>
		<updated>2010-08-26T23:10:58Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Calendar scale use cases */ time travel ;-)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
* Relative dates in texts: news websites and blogs often use phrases such as&lt;br /&gt;
** &amp;quot;damages during last year&#039;s Gaza offensive&amp;quot; [http://www.un.org/apps/news/story.asp?NewsID=33559],&lt;br /&gt;
** &amp;quot;recession next year almost inevitable&amp;quot; [http://www.reuters.com/article/idUSTRE65E5K520100615]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next year I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL)&lt;br /&gt;
* Restyling dates for localisation and to follow user conventions&lt;br /&gt;
** 2010-08 to 08-2010 to 平22年8月 to 2010年8月 (all acceptable ways to represent August 2010 in Japan)&lt;br /&gt;
* Relative dates in text: news websites, blogs and statistical institutes often use phrases like:&lt;br /&gt;
** &amp;quot;in June 2010, the turnover […] decreased by 10.5% compared to the same month of the previous year.&amp;quot; [http://www.nsi.bg/eventen.php?n=568]&lt;br /&gt;
** &amp;quot;George W. Bush leaves office in January next year&amp;quot; [http://afp.google.com/article/ALeqM5hm2kKrBzl5p5Psm-EryzKK_m8H_A]&lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] As with the year example above, this would be useful for semantically marking up year-month dates, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year, and 月 after the month). Having this data semantically notated would help make the use in Japan of 2-digit years on credit cards and in e-commerce more accessible. Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). [ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next January I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and allow eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;) in a manner to be determined; perhaps once defined by EDTF efforts.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* -1 [[User:Ocolon|Martin Janecke]] - I don&#039;t object to the idea of fuzzy dates in general (a well defined certainty attribute sounds interesting) but this doesn&#039;t seem to be well thought through yet. E.g. &amp;quot;bronze age&amp;quot; rather defines a stage of development of a culture than a time, just as &amp;quot;adolescence&amp;quot; does for a human. The time element could be suitable for adding markup to the term &amp;quot;bronze age&amp;quot; in a text talking about a specific culture. But you would really add markup to the term, not use this term as time markup, exactly because &amp;quot;bronze age&amp;quot; does not tell a time. Please don&#039;t make the time element too unspecific as I am afraid this would reduce its usability rather than adding to it. [[User:Ocolon|Ocolon]] 12:54, 22 August 2010 (UTC)&lt;br /&gt;
**It is not proposed to define terms like &amp;quot;bronze age&amp;quot; here; but to cater for a) any definitions emerging from the EDTF efforts and/or b) a publisher using their own definition, such as, say &amp;lt;code&amp;gt;&amp;lt;time datetime=&amp;quot;[3300-1200 BC]&amp;quot;&amp;gt;Bronze age&amp;lt;/time&amp;gt;&amp;lt;/code&amp;gt;. It&#039;s not that &amp;quot;this isn&#039;t well thought through&amp;quot; so much as &amp;quot;this is brought here for the community to think through&amp;quot;. [[User:Pigsonthewing|Pigsonthewing]] 22:34, 22 August 2010 (UTC)&lt;br /&gt;
*** I wrote &amp;quot;this doesn&#039;t seem to be well thought through &#039;&#039;&#039;yet&#039;&#039;&#039;&amp;quot;, of course implying this can change. Thanks for the details on the &amp;quot;bronze age&amp;quot; example. Should the introduction sentence to the [http://wiki.whatwg.org/index.php?title=Time_element&amp;amp;oldid=5419#Fuzzy_dates fuzzy date section] be edited to reflect this? Currently it does propose &amp;quot;bronze age&amp;quot; etc. as examples for future time values. [[User:Ocolon|Ocolon]] 01:17, 23 August 2010 (UTC)&lt;br /&gt;
****Done. [[User:Pigsonthewing|Pigsonthewing]] 11:24, 23 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* Documenting pre-Gregorian time travel in science fiction&lt;br /&gt;
**[http://www.guardian.co.uk/news/datablog/2010/aug/20/doctor-who-time-travel-information-is-beautiful Dr Who time travel]&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* 0 [[User:Ocolon|Martin Janecke]] - I&#039;m afraid the current proposal is too &amp;quot;Western World&amp;quot; centered. If you plan to allow Julian and Gregorian dates – what about the Islamic, Chinese, Hebrew, …, Mesopotamian and Mayan calenders? I don&#039;t mean to say we mustn&#039;t incorporate other calender scales – but if we do, we&#039;ll probably have to implement all of them, making things easier in some and much more complicated in many aspects. This could result in many parsers not being able to understand many of the dates, making the time element less useful. I&#039;d rather use just one scale as it is in the spec right now. The Gregorian calender is an international standard, so it should be fine. But I don&#039;t know if it is right to expect others to use &amp;quot;my&amp;quot; calendar (which the Gregorian calender is), hence the neutral vote.&lt;br /&gt;
**Dates from 2000+ years ago in non-European calendars such as those you mention can be converted to Julian calendar dates (but not Gregorian dates), just as modern dates in those calendars can be converted to the Gregorian calendar. The use of Julian extends the range of dates which can be expressed. [[User:Pigsonthewing|Pigsonthewing]] 22:40, 22 August 2010 (UTC)&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5423</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5423"/>
		<updated>2010-08-23T11:24:42Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Fuzzy dates */ R&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
* Relative dates in texts: news websites and blogs often use phrases such as&lt;br /&gt;
** &amp;quot;damages during last year&#039;s Gaza offensive&amp;quot; [http://www.un.org/apps/news/story.asp?NewsID=33559],&lt;br /&gt;
** &amp;quot;recession next year almost inevitable&amp;quot; [http://www.reuters.com/article/idUSTRE65E5K520100615]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next year I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL)&lt;br /&gt;
* Restyling dates for localisation and to follow user conventions&lt;br /&gt;
** 2010-08 to 08-2010 to 平22年8月 to 2010年8月 (all acceptable ways to represent August 2010 in Japan)&lt;br /&gt;
* Relative dates in text: news websites, blogs and statistical institutes often use phrases like:&lt;br /&gt;
** &amp;quot;in June 2010, the turnover […] decreased by 10.5% compared to the same month of the previous year.&amp;quot; [http://www.nsi.bg/eventen.php?n=568]&lt;br /&gt;
** &amp;quot;George W. Bush leaves office in January next year&amp;quot; [http://afp.google.com/article/ALeqM5hm2kKrBzl5p5Psm-EryzKK_m8H_A]&lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] As with the year example above, this would be useful for semantically marking up year-month dates, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year, and 月 after the month). Having this data semantically notated would help make the use in Japan of 2-digit years on credit cards and in e-commerce more accessible. Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). [ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next January I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and allow eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;) in a manner to be determined; perhaps once defined by EDTF efforts.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* -1 [[User:Ocolon|Martin Janecke]] - I don&#039;t object to the idea of fuzzy dates in general (a well defined certainty attribute sounds interesting) but this doesn&#039;t seem to be well thought through yet. E.g. &amp;quot;bronze age&amp;quot; rather defines a stage of development of a culture than a time, just as &amp;quot;adolescence&amp;quot; does for a human. The time element could be suitable for adding markup to the term &amp;quot;bronze age&amp;quot; in a text talking about a specific culture. But you would really add markup to the term, not use this term as time markup, exactly because &amp;quot;bronze age&amp;quot; does not tell a time. Please don&#039;t make the time element too unspecific as I am afraid this would reduce its usability rather than adding to it. [[User:Ocolon|Ocolon]] 12:54, 22 August 2010 (UTC)&lt;br /&gt;
**It is not proposed to define terms like &amp;quot;bronze age&amp;quot; here; but to cater for a) any definitions emerging from the EDTF efforts and/or b) a publisher using their own definition, such as, say &amp;lt;code&amp;gt;&amp;lt;time datetime=&amp;quot;[3300-1200 BC]&amp;quot;&amp;gt;Bronze age&amp;lt;/time&amp;gt;&amp;lt;/code&amp;gt;. It&#039;s not that &amp;quot;this isn&#039;t well thought through&amp;quot; so much as &amp;quot;this is brought here for the community to think through&amp;quot;. [[User:Pigsonthewing|Pigsonthewing]] 22:34, 22 August 2010 (UTC)&lt;br /&gt;
*** I wrote &amp;quot;this doesn&#039;t seem to be well thought through &#039;&#039;&#039;yet&#039;&#039;&#039;&amp;quot;, of course implying this can change. Thanks for the details on the &amp;quot;bronze age&amp;quot; example. Should the introduction sentence to the [http://wiki.whatwg.org/index.php?title=Time_element&amp;amp;oldid=5419#Fuzzy_dates fuzzy date section] be edited to reflect this? Currently it does propose &amp;quot;bronze age&amp;quot; etc. as examples for future time values. [[User:Ocolon|Ocolon]] 01:17, 23 August 2010 (UTC)&lt;br /&gt;
****Done. [[User:Pigsonthewing|Pigsonthewing]] 11:24, 23 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* 0 [[User:Ocolon|Martin Janecke]] - I&#039;m afraid the current proposal is too &amp;quot;Western World&amp;quot; centered. If you plan to allow Julian and Gregorian dates – what about the Islamic, Chinese, Hebrew, …, Mesopotamian and Mayan calenders? I don&#039;t mean to say we mustn&#039;t incorporate other calender scales – but if we do, we&#039;ll probably have to implement all of them, making things easier in some and much more complicated in many aspects. This could result in many parsers not being able to understand many of the dates, making the time element less useful. I&#039;d rather use just one scale as it is in the spec right now. The Gregorian calender is an international standard, so it should be fine. But I don&#039;t know if it is right to expect others to use &amp;quot;my&amp;quot; calendar (which the Gregorian calender is), hence the neutral vote.&lt;br /&gt;
**Dates from 2000+ years ago in non-European calendars such as those you mention can be converted to Julian calendar dates (but not Gregorian dates), just as modern dates in those calendars can be converted to the Gregorian calendar. The use of Julian extends the range of dates which can be expressed. [[User:Pigsonthewing|Pigsonthewing]] 22:40, 22 August 2010 (UTC)&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5419</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5419"/>
		<updated>2010-08-22T22:40:26Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Calendar scale discussion */ r&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
* Relative dates in texts: news websites and blogs often use phrases such as&lt;br /&gt;
** &amp;quot;damages during last year&#039;s Gaza offensive&amp;quot; [http://www.un.org/apps/news/story.asp?NewsID=33559],&lt;br /&gt;
** &amp;quot;recession next year almost inevitable&amp;quot; [http://www.reuters.com/article/idUSTRE65E5K520100615]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next year I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL)&lt;br /&gt;
* Restyling dates for localisation and to follow user conventions&lt;br /&gt;
** 2010-08 to 08-2010 to 平22年8月 to 2010年8月 (all acceptable ways to represent August 2010 in Japan)&lt;br /&gt;
* Relative dates in text: news websites, blogs and statistical institutes often use phrases like:&lt;br /&gt;
** &amp;quot;in June 2010, the turnover […] decreased by 10.5% compared to the same month of the previous year.&amp;quot; [http://www.nsi.bg/eventen.php?n=568]&lt;br /&gt;
** &amp;quot;George W. Bush leaves office in January next year&amp;quot; [http://afp.google.com/article/ALeqM5hm2kKrBzl5p5Psm-EryzKK_m8H_A]&lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] As with the year example above, this would be useful for semantically marking up year-month dates, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year, and 月 after the month). Having this data semantically notated would help make the use in Japan of 2-digit years on credit cards and in e-commerce more accessible. Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). [ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next January I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* -1 [[User:Ocolon|Martin Janecke]] - I don&#039;t object to the idea of fuzzy dates in general (a well defined certainty attribute sounds interesting) but this doesn&#039;t seem to be well thought through yet. E.g. &amp;quot;bronze age&amp;quot; rather defines a stage of development of a culture than a time, just as &amp;quot;adolescence&amp;quot; does for a human. The time element could be suitable for adding markup to the term &amp;quot;bronze age&amp;quot; in a text talking about a specific culture. But you would really add markup to the term, not use this term as time markup, exactly because &amp;quot;bronze age&amp;quot; does not tell a time. Please don&#039;t make the time element too unspecific as I am afraid this would reduce its usability rather than adding to it. [[User:Ocolon|Ocolon]] 12:54, 22 August 2010 (UTC)&lt;br /&gt;
**It is not proposed to define terms like &amp;quot;bronze age&amp;quot; here; but to cater for a) any definitions emerging from the EDTF efforts and/or b) a publisher using their own definition, such as, say &amp;lt;code&amp;gt;&amp;lt;time datetime=&amp;quot;[3300-1200 BC]&amp;quot;&amp;gt;Bronze age&amp;lt;/time&amp;gt;&amp;lt;/code&amp;gt;. It&#039;s not that &amp;quot;this isn&#039;t well thought through&amp;quot; so much as &amp;quot;this is brought here for the community to think through&amp;quot;. [[User:Pigsonthewing|Pigsonthewing]] 22:34, 22 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* 0 [[User:Ocolon|Martin Janecke]] - I&#039;m afraid the current proposal is too &amp;quot;Western World&amp;quot; centered. If you plan to allow Julian and Gregorian dates – what about the Islamic, Chinese, Hebrew, …, Mesopotamian and Mayan calenders? I don&#039;t mean to say we mustn&#039;t incorporate other calender scales – but if we do, we&#039;ll probably have to implement all of them, making things easier in some and much more complicated in many aspects. This could result in many parsers not being able to understand many of the dates, making the time element less useful. I&#039;d rather use just one scale as it is in the spec right now. The Gregorian calender is an international standard, so it should be fine. But I don&#039;t know if it is right to expect others to use &amp;quot;my&amp;quot; calendar (which the Gregorian calender is), hence the neutral vote.&lt;br /&gt;
**Dates from 2000+ years ago in non-European calendars such as those you mention can be converted to Julian calendar dates (but not Gregorian dates), just as modern dates in those calendars can be converted to the Gregorian calendar. The use of Julian extends the range of dates which can be expressed. [[User:Pigsonthewing|Pigsonthewing]] 22:40, 22 August 2010 (UTC)&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5418</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5418"/>
		<updated>2010-08-22T22:35:58Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Fuzzy dates */ c&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
* Relative dates in texts: news websites and blogs often use phrases such as&lt;br /&gt;
** &amp;quot;damages during last year&#039;s Gaza offensive&amp;quot; [http://www.un.org/apps/news/story.asp?NewsID=33559],&lt;br /&gt;
** &amp;quot;recession next year almost inevitable&amp;quot; [http://www.reuters.com/article/idUSTRE65E5K520100615]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next year I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL)&lt;br /&gt;
* Restyling dates for localisation and to follow user conventions&lt;br /&gt;
** 2010-08 to 08-2010 to 平22年8月 to 2010年8月 (all acceptable ways to represent August 2010 in Japan)&lt;br /&gt;
* Relative dates in text: news websites, blogs and statistical institutes often use phrases like:&lt;br /&gt;
** &amp;quot;in June 2010, the turnover […] decreased by 10.5% compared to the same month of the previous year.&amp;quot; [http://www.nsi.bg/eventen.php?n=568]&lt;br /&gt;
** &amp;quot;George W. Bush leaves office in January next year&amp;quot; [http://afp.google.com/article/ALeqM5hm2kKrBzl5p5Psm-EryzKK_m8H_A]&lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] As with the year example above, this would be useful for semantically marking up year-month dates, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year, and 月 after the month). Having this data semantically notated would help make the use in Japan of 2-digit years on credit cards and in e-commerce more accessible. Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). [ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next January I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* -1 [[User:Ocolon|Martin Janecke]] - I don&#039;t object to the idea of fuzzy dates in general (a well defined certainty attribute sounds interesting) but this doesn&#039;t seem to be well thought through yet. E.g. &amp;quot;bronze age&amp;quot; rather defines a stage of development of a culture than a time, just as &amp;quot;adolescence&amp;quot; does for a human. The time element could be suitable for adding markup to the term &amp;quot;bronze age&amp;quot; in a text talking about a specific culture. But you would really add markup to the term, not use this term as time markup, exactly because &amp;quot;bronze age&amp;quot; does not tell a time. Please don&#039;t make the time element too unspecific as I am afraid this would reduce its usability rather than adding to it. [[User:Ocolon|Ocolon]] 12:54, 22 August 2010 (UTC)&lt;br /&gt;
**It is not proposed to define terms like &amp;quot;bronze age&amp;quot; here; but to cater for a) any definitions emerging from the EDTF efforts and/or b) a publisher using their own definition, such as, say &amp;lt;code&amp;gt;&amp;lt;time datetime=&amp;quot;[3300-1200 BC]&amp;quot;&amp;gt;Bronze age&amp;lt;/time&amp;gt;&amp;lt;/code&amp;gt;. It&#039;s not that &amp;quot;this isn&#039;t well thought through&amp;quot; so much as &amp;quot;this is brought here for the community to think through&amp;quot;. [[User:Pigsonthewing|Pigsonthewing]] 22:34, 22 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* 0 [[User:Ocolon|Martin Janecke]] - I&#039;m afraid the current proposal is too &amp;quot;Western World&amp;quot; centered. If you plan to allow Julian and Gregorian dates – what about the Islamic, Chinese, Hebrew, …, Mesopotamian and Mayan calenders? I don&#039;t mean to say we mustn&#039;t incorporate other calender scales – but if we do, we&#039;ll probably have to implement all of them, making things easier in some and much more complicated in many aspects. This could result in many parsers not being able to understand many of the dates, making the time element less useful. I&#039;d rather use just one scale as it is in the spec right now. The Gregorian calender is an international standard, so it should be fine. But I don&#039;t know if it is right to expect others to use &amp;quot;my&amp;quot; calendar (which the Gregorian calender is), hence the neutral vote.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5417</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5417"/>
		<updated>2010-08-22T22:34:49Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Fuzzy dates */ ~~~~&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
* Relative dates in texts: news websites and blogs often use phrases such as&lt;br /&gt;
** &amp;quot;damages during last year&#039;s Gaza offensive&amp;quot; [http://www.un.org/apps/news/story.asp?NewsID=33559],&lt;br /&gt;
** &amp;quot;recession next year almost inevitable&amp;quot; [http://www.reuters.com/article/idUSTRE65E5K520100615]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next year I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL)&lt;br /&gt;
* Restyling dates for localisation and to follow user conventions&lt;br /&gt;
** 2010-08 to 08-2010 to 平22年8月 to 2010年8月 (all acceptable ways to represent August 2010 in Japan)&lt;br /&gt;
* Relative dates in text: news websites, blogs and statistical institutes often use phrases like:&lt;br /&gt;
** &amp;quot;in June 2010, the turnover […] decreased by 10.5% compared to the same month of the previous year.&amp;quot; [http://www.nsi.bg/eventen.php?n=568]&lt;br /&gt;
** &amp;quot;George W. Bush leaves office in January next year&amp;quot; [http://afp.google.com/article/ALeqM5hm2kKrBzl5p5Psm-EryzKK_m8H_A]&lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] As with the year example above, this would be useful for semantically marking up year-month dates, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year, and 月 after the month). Having this data semantically notated would help make the use in Japan of 2-digit years on credit cards and in e-commerce more accessible. Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). [ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next January I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* -1 [[User:Ocolon|Martin Janecke]] - I don&#039;t object to the idea of fuzzy dates in general (a well defined certainty attribute sounds interesting) but this doesn&#039;t seem to be well thought through yet. E.g. &amp;quot;bronze age&amp;quot; rather defines a stage of development of a culture than a time, just as &amp;quot;adolescence&amp;quot; does for a human. The time element could be suitable for adding markup to the term &amp;quot;bronze age&amp;quot; in a text talking about a specific culture. But you would really add markup to the term, not use this term as time markup, exactly because &amp;quot;bronze age&amp;quot; does not tell a time. Please don&#039;t make the time element too unspecific as I am afraid this would reduce its usability rather than adding to it. [[User:Ocolon|Ocolon]] 12:54, 22 August 2010 (UTC)&lt;br /&gt;
**It is not proposed to define terms like &amp;quot;bronze age&amp;quot; here; but to cater for i) any definitions emerging from the EDTF efforts and/or 2) a publisher using their own definition, such as, say &amp;lt;code&amp;gt;&amp;lt;time datetime=&amp;quot;[3300-1200 BC]&amp;quot;&amp;gt;Bronze age&amp;lt;/time&amp;gt;&amp;lt;/code&amp;gt;. its not that &amp;quot;this isn&#039;t well thought through&amp;quot; so much as &amp;quot;this is brought here for the community to think through&amp;quot;. [[User:Pigsonthewing|Pigsonthewing]] 22:34, 22 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* 0 [[User:Ocolon|Martin Janecke]] - I&#039;m afraid the current proposal is too &amp;quot;Western World&amp;quot; centered. If you plan to allow Julian and Gregorian dates – what about the Islamic, Chinese, Hebrew, …, Mesopotamian and Mayan calenders? I don&#039;t mean to say we mustn&#039;t incorporate other calender scales – but if we do, we&#039;ll probably have to implement all of them, making things easier in some and much more complicated in many aspects. This could result in many parsers not being able to understand many of the dates, making the time element less useful. I&#039;d rather use just one scale as it is in the spec right now. The Gregorian calender is an international standard, so it should be fine. But I don&#039;t know if it is right to expect others to use &amp;quot;my&amp;quot; calendar (which the Gregorian calender is), hence the neutral vote.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5416</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5416"/>
		<updated>2010-08-22T22:34:19Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Fuzzy dates */ r&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
*Restyling dates for localisation and to follow user conventions&lt;br /&gt;
**2010 to 平22年 to 2010年 (all acceptable ways to represent 2010 in Japan)&lt;br /&gt;
* Relative dates in texts: news websites and blogs often use phrases such as&lt;br /&gt;
** &amp;quot;damages during last year&#039;s Gaza offensive&amp;quot; [http://www.un.org/apps/news/story.asp?NewsID=33559],&lt;br /&gt;
** &amp;quot;recession next year almost inevitable&amp;quot; [http://www.reuters.com/article/idUSTRE65E5K520100615]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] This would be useful for semantically marking up years, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year). Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next year I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL)&lt;br /&gt;
* Restyling dates for localisation and to follow user conventions&lt;br /&gt;
** 2010-08 to 08-2010 to 平22年8月 to 2010年8月 (all acceptable ways to represent August 2010 in Japan)&lt;br /&gt;
* Relative dates in text: news websites, blogs and statistical institutes often use phrases like:&lt;br /&gt;
** &amp;quot;in June 2010, the turnover […] decreased by 10.5% compared to the same month of the previous year.&amp;quot; [http://www.nsi.bg/eventen.php?n=568]&lt;br /&gt;
** &amp;quot;George W. Bush leaves office in January next year&amp;quot; [http://afp.google.com/article/ALeqM5hm2kKrBzl5p5Psm-EryzKK_m8H_A]&lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* +1 [[User:Oli|Oli Studholme]] As with the year example above, this would be useful for semantically marking up year-month dates, as in Japan there’s an additional era-based method of representing years (and even Japanese people find it difficult to convert between them), and it would allow the browser to automatically display the user-preferred format. It would also also enable browser-based localisation (adding a 年 after the year, and 月 after the month). Having this data semantically notated would help make the use in Japan of 2-digit years on credit cards and in e-commerce more accessible. Finally it would be useful for marking up future imprecise dates (e.g. events being planned), allowing someone to add these dates to a calendar automatically (rather than marking up teh events plus manually adding them to a calendar). [ref: [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028025.html email to WHATWG]]&lt;br /&gt;
* +1 [[User:Ocolon|Martin Janecke]] - This would be great to mark up relative dates (&amp;quot;next January I will …&amp;quot;) that actually refer to an absolute date in the context of the text and the publication date of the text respectively.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* -1 [[User:Ocolon|Martin Janecke]] - I don&#039;t object to the idea of fuzzy dates in general (a well defined certainty attribute sounds interesting) but this doesn&#039;t seem to be well thought through yet. E.g. &amp;quot;bronze age&amp;quot; rather defines a stage of development of a culture than a time, just as &amp;quot;adolescence&amp;quot; does for a human. The time element could be suitable for adding markup to the term &amp;quot;bronze age&amp;quot; in a text talking about a specific culture. But you would really add markup to the term, not use this term as time markup, exactly because &amp;quot;bronze age&amp;quot; does not tell a time. Please don&#039;t make the time element too unspecific as I am afraid this would reduce its usability rather than adding to it. [[User:Ocolon|Ocolon]] 12:54, 22 August 2010 (UTC)&lt;br /&gt;
**It is not proposed to define terms like &amp;quot;bronze age&amp;quot; here; but to cater for i) any definitions emerging from the EDTF efforts and/or 2) a publisher using their own definition, such as, say &amp;lt;code&amp;gt;&amp;lt;time datetime=&amp;quot;[3300-1200 BC]&amp;quot;&amp;gt;Bronze age&amp;lt;/time&amp;gt;&amp;lt;/code&amp;gt;. its not that &amp;quot;this isn&#039;t well thought through&amp;quot; so much as &amp;quot;this is brought here for the community to think through&amp;quot;.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* 0 [[User:Ocolon|Martin Janecke]] - I&#039;m afraid the current proposal is too &amp;quot;Western World&amp;quot; centered. If you plan to allow Julian and Gregorian dates – what about the Islamic, Chinese, Hebrew, …, Mesopotamian and Mayan calenders? I don&#039;t mean to say we mustn&#039;t incorporate other calender scales – but if we do, we&#039;ll probably have to implement all of them, making things easier in some and much more complicated in many aspects. This could result in many parsers not being able to understand many of the dates, making the time element less useful. I&#039;d rather use just one scale as it is in the spec right now. The Gregorian calender is an international standard, so it should be fine. But I don&#039;t know if it is right to expect others to use &amp;quot;my&amp;quot; calendar (which the Gregorian calender is), hence the neutral vote.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=RelExtensions&amp;diff=5404</id>
		<title>RelExtensions</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=RelExtensions&amp;diff=5404"/>
		<updated>2010-08-21T19:58:19Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: map&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page lists the allowed extension values for the rel=&amp;quot;&amp;quot; attribute in HTML5. You may add your own values to this list, which makes them legal HTML5 rel values. We ask that you try to avoid redundancy; if someone has already defined a value that does roughly what you want, please reuse it. Note that rel tokens are ASCII-lowercase before comparison against canonical value, so the canonical values should be listed without uppercase ASCII letters.&lt;br /&gt;
&lt;br /&gt;
{| class=wikitable&lt;br /&gt;
|-&lt;br /&gt;
!  rowspan=2 | Keyword&lt;br /&gt;
!  colspan=2 | Effect on...&lt;br /&gt;
!  rowspan=2 | Brief description&lt;br /&gt;
!  rowspan=2 | Link to more details&lt;br /&gt;
!  rowspan=2 | Synonyms&lt;br /&gt;
!  rowspan=2 | Status&lt;br /&gt;
|- &lt;br /&gt;
! link&lt;br /&gt;
! a and area&lt;br /&gt;
|-&lt;br /&gt;
| accessibility&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document contains accessibility information for the linking document.&lt;br /&gt;
| [http://www.brucelawson.co.uk/2009/rel-accessibility/ Bruce Lawson]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| acquaintance&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the person represented by the current document considers the person represented by the referenced document to be an acquaintance&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| ajax&lt;br /&gt;
| not allowed&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The link is controlled through javascript, and will load the page linked to though an ajax interface. Without javascript, it should behave as a normal &amp;quot;a&amp;quot; tag, and content change is done server side.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| alternate&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| archives&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| author&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| bookmark&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| canonical&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| Robots (e.g., search engines) should treat the document containing the tag as a minor variation of the linked document, which may result in the removal of the former from a web index and in the consolidation of its quality signals in the latter.&lt;br /&gt;
| [http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| canonical-domain&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| More than one domain may have largely similar or identical content but only one of the domains should be indexed for search engines. E.g., a company may have short and long domain names for the same content.&lt;br /&gt;
For security against traffic theft, rev must be meaningless.&lt;br /&gt;
| [http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;amp;answer=139066 Google&#039;s analogous service] and [[Talk:RelExtensions#On_canonical-domain.2C_canonical-wwwnone.2C_and_canonical-first|Talk for this page]]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| canonical-first&lt;br /&gt;
| external resource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Where the canonical value should point to a group of pages, but the link can point to only one page, the group of pages can be clarified by choosing the first page in the group and assigning the URL for this rel link.&lt;br /&gt;
For security against traffic theft, rev must be meaningless.&amp;lt;br /&amp;gt;&lt;br /&gt;
This is only shorthand for providing two link elements, one on the noncanonical page to a &amp;quot;canonical&amp;quot; page and the other on the canonical page to the &amp;quot;first&amp;quot; page of the group.&lt;br /&gt;
Where the group of pages corresponds to a subdirectory and a canonical URL value can point to the subdirectory resulting in a user arriving at the subdirectory&#039;s index page which is part of the group, this shorthand is unnecessary and one rel=&amp;quot;canonical&amp;quot; will suffice.&lt;br /&gt;
| [[Talk:RelExtensions#On_canonical-domain.2C_canonical-wwwnone.2C_and_canonical-first|Talk for this page]]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| canonical-human&lt;br /&gt;
| external resource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Pages about a person across many websites can be associated based on name, nationality, birthplace, dates of birth and death, when flourished, and other identifiers.&lt;br /&gt;
Search engines could more consistently aggregate same-person pages with less confusion due to name similarity.&lt;br /&gt;
| [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7681 W3C Bug 7681]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| canonical-organization&lt;br /&gt;
| external resource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Pages about an organization across many websites can be associated based on name, headquarters site, and other identifiers.&lt;br /&gt;
Search engines could more consistently aggregate same-organization pages with less confusion due to name similarity.&lt;br /&gt;
| [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7682 W3C Bug 7682]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| canonical-wwwnone&lt;br /&gt;
| external resource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Both bare and www-prefixed domain names usually direct to the same site. Especially when external links to a site vary in the form used, search engine indexing concentrated on only one domain form may raise its credibility. The rel value is the form preferred for indexing, e.g., rel=&amp;quot;http://example.net&amp;quot;. Nothing to the right of the top-level domain is needed.&lt;br /&gt;
For security against traffic theft, rev must be meaningless.&lt;br /&gt;
| [http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;amp;answer=139066 Google&#039;s analogous service] and [[Talk:RelExtensions#On_canonical-domain.2C_canonical-wwwnone.2C_and_canonical-first|Talk for this page]]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| chapter&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Target document is a subdocument of the current document.&lt;br /&gt;
| [http://www.w3.org/TR/html4/types.html#h-6.12 HTML4]&lt;br /&gt;
| section, subsection, appendix&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| child&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person is a child of the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| co-resident&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person lives in the same residence as the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| co-worker&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person is a co-worker of the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| colleague&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person is a colleague of the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| contact&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the person represented by the current document considers the person represented by the referenced document to be a contact&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| contributor&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document is the page/email an agent (people or firm or...) involved in the production of the content, but not his main author(s).&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| crush&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| this person considers the referenced person to be a crush (i.e. has a crush on the referenced person)&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| date&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| this person considers the referenced person to be a date (i.e. is dating the referenced person)&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| details&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The referenced document contains additional (or complete) details about the current document (for example, a &amp;quot;read more...&amp;quot; hyperlink on a blog page that leads to the full posting).&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| dns-prefetch&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| Force the DNS lookup of specific hostnames.&lt;br /&gt;
| [https://developer.mozilla.org/En/Controlling_DNS_prefetching Mozilla DNS Prefetching], &amp;lt;br /&amp;gt;[http://dev.chromium.org/developers/design-documents/dns-prefetching Chromium DNS Prefetching]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| edit&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Target document is an editable version of the current document.&lt;br /&gt;
| [http://bitworking.org/projects/atom/draft-ietf-atompub-protocol-11.html#new-link-relation Atom Protocol]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| edituri&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| a link to an RSD file describing how to edit the given page.&lt;br /&gt;
| [http://cyber.law.harvard.edu/blogs/gems/tech/rsd.htm rsd]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| enclosure&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the destination of the hyperlink is intended to be downloaded and cached.&lt;br /&gt;
| [http://microformats.org/wiki/rel-enclosure rel-enclosure]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| enlarged&lt;br /&gt;
| not allowed&lt;br /&gt;
| hyperlink&lt;br /&gt;
| For anchors that have one child image element, indicates that the linked document is an image file which is the same as the child image element of the link except a larger size (dimensions).&lt;br /&gt;
| [http://dvdgoss.wordpress.com/2010/04/26/the-case-for-relenlarge-in-html5/ David Goss]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| external&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| extension&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Browser extension&lt;br /&gt;
| [http://mozillalabs.com/jetpack/2010/05/12/indexing-and-auto-detecting-browser-extensions-on-the-web/ Mozilla Labs]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| first&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| friend&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the person represented by the current document considers the person represented by the referenced document to be a friend&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| glossary&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Target document provides definitions for words in current document.&lt;br /&gt;
| [http://www.w3.org/TR/html4/types.html#h-6.12 HTML4]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| help&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| hub&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| Indicates a URL which implements both sides of the PubSubHubbub protocol.&lt;br /&gt;
| [http://code.google.com/p/pubsubhubbub/ PubSubHubbub]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| i18nrules&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| Target document provides ITS (Internationalization tag Set) rules for processing the current document.&lt;br /&gt;
| [http://www.w3.org/TR/its/ ITS]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| icon&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| index&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| jump&lt;br /&gt;
| not allowed&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Indicates a same page jump from the current fragment to another fragment. (E.g. sometimes online newspapers insert direct text saying &amp;quot;article continues below the image/advert&amp;quot; - they could instead use &amp;quot;jump&amp;quot; link. Ultimately, it indicates a page internal link.)&lt;br /&gt;
| [[Talk:RelExtensions#On_footnote.2C_note.2C_and_jump|Talk]]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| kin&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person is part of the extended family of the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| lang-alt-[ISO 639-1 code]&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document contains a version of the current document in an alternative language. &amp;quot;[ISO 639-1 code]&amp;quot; is replaced with the appropriate [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ISO 639-1 language code]. The ISO 639-1 code is used when the browser (or other user agent) wants to display either the full name of the language or a flag, as a visual aid for the end user.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| lang-orig-[ISO 639-1 code]&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document contains a version of the current document in the language the document was originally written in. &amp;quot;[ISO 639-1 code]&amp;quot; is replaced with the appropriate [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ISO 639-1 language code]. The ISO 639-1 code is used when the browser (or other user agent) wants to display either the full name of the language or a flag, as a visual aid for the end user.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| last&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| latest-version&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The referenced document is the latest version of the current document.&lt;br /&gt;
| [http://www.iana.org/assignments/link-relations/link-relations.txt], [http://tools.ietf.org/search/rfc5829#section-3.2 RFC5829]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| license&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| logout&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| The linked document provides a resource for the UA to request when all currently open documents of the same &amp;quot;group&amp;quot; are closed (to facilitate logging out the current user).&lt;br /&gt;
| [[LogoutRelExtension]]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| map&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced document represents a map of the location of the subject of the current document; parsers &#039;&#039;may&#039;&#039; use the URI or target page to determine coordinates.&lt;br /&gt;
| to follow&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| me&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced document represents the same person as does the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| met&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| this person has met the referenced person&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| muse&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person inspires the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| neighbor&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person lives nearby the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| next&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| next-archive&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| A URI that refers to the immediately following archive document.&lt;br /&gt;
| [http://www.iana.org/assignments/link-relations/link-relations.xhtml Atom Link Relations], &amp;lt;br /&amp;gt;[http://tools.ietf.org/html/rfc5005 RFC5005]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| nofollow&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| noreferrer&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| noprefetch&lt;br /&gt;
| external resource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Denies prefetching (not fetching) as a cost-control option for website owners, especially where pages are dynamic, leading to prefetching of wrong and useless pages.&amp;lt;br /&amp;gt;&lt;br /&gt;
The link provides a per-page denial whereas a and area provide a per-element denial.&amp;lt;br /&amp;gt;&lt;br /&gt;
For link, attributes rel=&amp;quot;noprefetch&amp;quot; denies prefetching of the page at the href URL and rev=&amp;quot;noprefetch&amp;quot; denies prefetching of the page bearing the link.&amp;lt;br /&amp;gt;&lt;br /&gt;
For a and area, rel is as above and rev is meaningless.&lt;br /&gt;
| [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7918 W3C Bug 7918]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| note&lt;br /&gt;
| not allowed&lt;br /&gt;
| hyperlink&lt;br /&gt;
| An in-page or out-page jump to a footnote. This encompasses &#039;&#039;note&#039;&#039;, &#039;&#039;footnote&#039;&#039;, &#039;&#039;endnote&#039;&#039;, and &#039;&#039;sidenote&#039;&#039;.&lt;br /&gt;
| [[Talk:RelExtensions#On_footnote.2C_note.2C_and_jump|Talk]]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| openid.delegate&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| OpenID 1.1 authentication delegation&lt;br /&gt;
| [http://openid.net/specs/openid-authentication-1_1.html#delegating_authentication OpenID specification]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| openid.server&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| OpenID 1.1 authentication delegation&lt;br /&gt;
| [http://openid.net/specs/openid-authentication-1_1.html#delegating_authentication OpenID specification]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| openid2.local_id&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| OpenID 2.0 authentication delegation&lt;br /&gt;
| [http://openid.net/specs/openid-authentication-2_0.html#html_disco OpenID Auth 2.0 section 7.3.3]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| openid2.provider&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| OpenID 2.0 authentication endpoint&lt;br /&gt;
| [http://openid.net/specs/openid-authentication-2_0.html#html_disco OpenID Auth 2.0 section 7.3.3]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| parent&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person is a parent of the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| payment&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| A URI where payment is accepted.&lt;br /&gt;
| [http://www.iana.org/assignments/link-relations/link-relations.xhtml Atom Link Relations]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| pgpkey&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| The linked document is the PGP public key file (which may contain multiple keys) of the author(s) of the page.&lt;br /&gt;
| [http://purl.org/net/pgpkey/], [http://golem.ph.utexas.edu/~distler/blog/archives/000320.html]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| pingback&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| prefetch&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| prev&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| prev-archive&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| A URI that refers to the immediately preceding archive document.&lt;br /&gt;
| [http://www.iana.org/assignments/link-relations/link-relations.xhtml Atom Link Relations], &amp;lt;br /&amp;gt;[http://tools.ietf.org/html/rfc5005 RFC5005]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| print&lt;br /&gt;
| external resource&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The referenced document is recommended for printing, even though the referent document is capable of being printed and both documents are of the same type, medium, and language. A typical case is where content spread over multiple pages is also available on a single page that is more convenient to print.&lt;br /&gt;
This is semantically more specific than &amp;quot;canonical&amp;quot; and &amp;quot;alternate&amp;quot;. Where type, medium, and/or language differ, consider &amp;quot;alternate&amp;quot;; where any of them differ but the purpose is printing, consider applying both values.&lt;br /&gt;
| [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7645 W3C Bug 7645]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| profile&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| this referenced link is a metadata profile for the current document&lt;br /&gt;
| [http://www.w3.org/TR/html401/struct/global.html#profiles HTML Meta data profiles], &amp;lt;br /&amp;gt;[http://www.w3.org/2003/g/glean-profile Example of profile in a-elements]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| related&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| this referenced link identifies a resource related to the current document&lt;br /&gt;
| [http://tools.ietf.org/html/rfc4287#section-4.2.7 Atom Syndication Format]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| resource-package&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| The linked document is a zipped resource package&lt;br /&gt;
| [http://limi.net/articles/resource-packages/ Resource Packages]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| reviewer&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| The linked document is the page/email an agent (people or firm or...) responsible for reviewing the content.&lt;br /&gt;
| [http://wiki.csswg.org/test/css2.1/format#reviewer]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| script&lt;br /&gt;
| not allowed&lt;br /&gt;
| not allowed&lt;br /&gt;
| Was proposed to replace &amp;amp;lt;script&amp;gt;. Use &amp;amp;lt;script&amp;gt; instead.&lt;br /&gt;
| none&lt;br /&gt;
| &lt;br /&gt;
| Rejected&lt;br /&gt;
|-&lt;br /&gt;
| search&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| self&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| A URI that refers to a resource equivalent to the containing element.&lt;br /&gt;
| [http://www.iana.org/assignments/link-relations/link-relations.xhtml Atom Link Relations], &amp;lt;br /&amp;gt;[http://tools.ietf.org/html/rfc4287 RFC4287]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| service&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| Points to a resource describing a service API&lt;br /&gt;
| [[ServiceRelExtension]]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| shortlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Identifies a shorter form of the URL for the current document, provided by the document owner.&lt;br /&gt;
| [http://code.google.com/p/shortlink/wiki/Specification shortlink Specification]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| sibling&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person is a sibling of the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| sidebar&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| spouse&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| the referenced person is a spouse of the person represented by the current document&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| statechart&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| A reference to an SCXML document that controls the application-flow of the current HTML document&lt;br /&gt;
| [http://www.w3.org/TR/scxml/ SCXML]&lt;br /&gt;
|&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| stylesheet&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| sweetheart&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| this person considers the referenced person to be their sweetheart&lt;br /&gt;
| [http://gmpg.org/xfn/11 XFN]&lt;br /&gt;
| &lt;br /&gt;
| Accepted&lt;br /&gt;
|-&lt;br /&gt;
| tag&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| technicalauthor&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document is the page/email an agent (people or firm or...) responsible for the technical construction of the page (i.e. the HTML/CSS/PHP code), not for the content.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| timesheet&lt;br /&gt;
| external resource&lt;br /&gt;
| not allowed&lt;br /&gt;
| SMIL Timesheet&lt;br /&gt;
| [http://www.w3.org/TR/timesheets/#smilTimesheetsNS-Elements-Timesheet SMIL Timesheets 1.0]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| translatedfrom&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document is the page/email that has been translation source for the current document. It also indicates that the current document is a translation and not an original work.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| translator&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document is the page/email an agent (people or firm or...) responsible for the translation of the page. It also indicates that the current page is a translation of an other document, which should be linked through a rel=&amp;quot;translatedfrom&amp;quot;.&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| up&lt;br /&gt;
|colspan=6| See HTML5&lt;br /&gt;
|-&lt;br /&gt;
| us&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The referenced document represents the same organisation as does the current document [cf rel-me]&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| webmaster&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| The linked document is the page/email an agent (people or firm or...) available for requests about the content of the page.&lt;br /&gt;
| &lt;br /&gt;
| maintainer&lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| widget&lt;br /&gt;
| hyperlink&lt;br /&gt;
| hyperlink&lt;br /&gt;
| Points to a widget.&lt;br /&gt;
| [http://dev.w3.org/2006/waf/widgets/Overview.html#autodiscovery Widgets 1.0 Editor&#039;s draft]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|-&lt;br /&gt;
| wlwmanifest&lt;br /&gt;
| hyperlink&lt;br /&gt;
| not allowed&lt;br /&gt;
| A link to a manifest for Windows Live Writer.&lt;br /&gt;
| [http://msdn.microsoft.com/en-us/library/bb463263.aspx msdn]&lt;br /&gt;
| &lt;br /&gt;
| Proposal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Effect on... link&amp;quot; column must either say &amp;quot;not allowed&amp;quot; if the rel value is not allowed on &amp;amp;lt;link&amp;gt; elements, &amp;quot;hyperlink&amp;quot; if the rel value creates a hyperlink, or &amp;quot;external resource&amp;quot; if the rel value creates a link to an external resource.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Effect on... a and area&amp;quot; column must either say &amp;quot;not allowed&amp;quot; or &amp;quot;hyperlink&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For the &amp;quot;Status&amp;quot; section to be changed to &amp;quot;Accepted&amp;quot;, the proposed keyword must either have been through the [http://microformats.org/wiki/process Microformats process], and been approved by the Microformats community; or must be defined by a W3C specification in the Candidate Recommendation or Recommendation state. If it fails to go through this process, it is &amp;quot;Rejected&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For more details, see [http://whatwg.org/specs/web-apps/current-work/#linkTypes the HTML5 specification]. See also [http://microformats.org/wiki/existing-rel-values the Microformats wiki page on this matter].&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5380</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5380"/>
		<updated>2010-08-17T10:12:53Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Resources */ datetime-comments@w3.org. - anyone have archives?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
** mailing list was datetime-comments@w3.org. - anyone have archives URL?&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5379</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5379"/>
		<updated>2010-08-17T10:11:05Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* year only use cases */ commerce; sport; awards&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
*Commerce&lt;br /&gt;
** &amp;quot;a piece of jewellery hallmarked 1933&amp;quot;&lt;br /&gt;
** &amp;quot;a 1973 Chevy&amp;quot;&lt;br /&gt;
*Sport&lt;br /&gt;
**2008 Olympics&lt;br /&gt;
**1966 World Cup&lt;br /&gt;
*Awards&lt;br /&gt;
**&amp;quot;1973 Oscar for best film&amp;quot;&lt;br /&gt;
**&amp;quot;1988 Nobel Peace Prize&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5378</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5378"/>
		<updated>2010-08-17T09:56:29Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Resources */ W3C Date and Time Formats discussion note&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://www.w3.org/TR/NOTE-datetime W3C Date and Time Formats discussion note]&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5377</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5377"/>
		<updated>2010-08-17T09:54:54Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Fuzzy dates */ reply to Lars Gunther&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is often used to format date description for resume&#039;s Stackoverflow http://careers.stackoverflow.com/klmr I could list more cases in the wild. Like YYYY, YYYY-MM or YYYY-MM-DD its part of the http://www.w3.org/TR/NOTE-datetime profile.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* +1 [[User:GlennJones|Glenn Jones]] - This is the most commonly used format date description for Resume&#039;s. Linked-in use it http://www.linkedin.com/in/steveganz and Stackoverflow http://careers.stackoverflow.com/klmr I could list many more cases in the wild.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* 0 [[User:itpastorn|Lars Gunther]] One of the benefits of the time element is machine parsability. I can&#039;t see what benefit it adds for non-parsable text. There are bigger fish to fry.&lt;br /&gt;
**The proposal is to make such dates machine parsable. [[User:Pigsonthewing|Pigsonthewing]] 09:54, 17 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).&lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). This duplication can result in inaccurate data (e.g. [http://microformats.org/discuss/mail/microformats-dev/2010-August/000663.html]).&lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5365</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5365"/>
		<updated>2010-08-15T10:16:43Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* year only use cases */ Citations&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
*Citations from a bibliography which list two or more works by the same author disambiguate them by year&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5364</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5364"/>
		<updated>2010-08-15T10:06:51Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* year only use cases */ ce&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other rank&#039;s &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5363</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5363"/>
		<updated>2010-08-15T10:05:16Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: o&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other ranks&#039; &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a whole-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5362</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5362"/>
		<updated>2010-08-15T10:04:45Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* year only use cases */ ce&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or other ranks&#039; &#039;&#039;authority&#039;&#039; (the person who named it, and the year they did so) always includes a while-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5361</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5361"/>
		<updated>2010-08-15T10:03:56Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* year only use cases */ biological taxonomy&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
* In biological taxonomy, a species&#039;, genus&#039; or otehr ranks&#039; &#039;&#039;authority&#039;&#039; (the peraon who anmed it, and tehayr they dis so) always includes a while-year date value. For example:&lt;br /&gt;
**Barn Owl, &#039;&#039;Tyto alba&#039;&#039; (Scopoli, 1769) [http://en.wikipedia.org/wiki/Barn_owl]&lt;br /&gt;
**Strigiformes (Wagler, 1830) [http://en.wikipedia.org/wiki/Owl]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5348</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5348"/>
		<updated>2010-08-12T12:49:51Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Resources */ fmt&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
*** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
**&amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5347</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5347"/>
		<updated>2010-08-12T12:49:04Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Resources */ ce&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms, e.g. &amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal and &amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5346</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5346"/>
		<updated>2010-08-12T12:19:06Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Resources */ + discussion&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms: &amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal and &amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;br /&gt;
** [http://www.semanticoverflow.com/questions/836/use-a-custom-datatype-or-a-property-for-approximate-dates Use a custom datatype or a property for approximate dates?] - discussion of the above.&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5345</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5345"/>
		<updated>2010-08-12T12:15:29Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Resources */ Time Ontology in OWL&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms: &amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal and &amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;br /&gt;
* [http://www.w3.org/TR/owl-time/ Time Ontology in OWL]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5344</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5344"/>
		<updated>2010-08-12T10:30:18Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Resources */ +&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core terms: &amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal and &amp;lt;code&amp;gt;dcterms:created&amp;lt;/code&amp;gt; http://dublincore.org/groups/collections/collection-application-profile/#coldctermsdcterms:created&lt;br /&gt;
** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5343</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5343"/>
		<updated>2010-08-12T10:27:04Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Resources */  dcterms:temporal (will add commentary and move to better location later)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;separate&amp;lt;/em&amp;gt; date and time &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attribute values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic and related processing.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Appreciate the support of the proposal.  To clarify, the modified markup example provided won&#039;t work as microformats processors will look for &amp;quot;dtstart&amp;quot; information only inside that time element and its children, and find an English abbreviation, or just a number without context in the case of &amp;quot;dtend&amp;quot;.  This modification also moves the duplicate ISO8601 machine date data &amp;lt;em&amp;gt;farther&amp;lt;/em&amp;gt; from the individual human readable components which increases the chance of drift (more distance between data duplicates = more drift between the duplicates over time). [[User:Tantek|Tantek]] 19:39, 11 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;br /&gt;
* Dublin Core: term &amp;lt;code&amp;gt;dcterms:temporal&amp;lt;/code&amp;gt; at http://dublincore.org/groups/collections/collection-application-profile/#coldctermstemporal&lt;br /&gt;
** [http://www.nmm.ac.uk/collections/feeds/docs/ example using dcterms:temporal]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Class&amp;diff=5342</id>
		<title>Class</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Class&amp;diff=5342"/>
		<updated>2010-08-11T21:02:31Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Current wording */ URL&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Misapprehensions (citations to follow) abound about the purpose of the class attribute, which is often referred to, plural, as &amp;quot;CSS classes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The wording in the spec should be changed to more clearly indicate the semantic nature of the class attribute, when used properly, and indicate the validity of its use in this way.&lt;br /&gt;
&lt;br /&gt;
== Current wording ==&lt;br /&gt;
&lt;br /&gt;
From: http://www.w3.org/TR/html5/elements.html#classes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote cite=&amp;quot;http://www.w3.org/TR/html5/elements.html#classes&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Every HTML element may have a class attribute specified.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The attribute, if specified, must have a value that is a set of space-separated tokens representing the various classes that the element belongs to.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The classes that an HTML element has assigned to it consists of all the classes returned when the value of the class attribute is split on spaces. (Duplicates are ignored.)&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Assigning classes to an element affects class matching in selectors in CSS, the getElementsByClassName() method in the DOM, and other such features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;There are no additional restrictions on the tokens authors can use in the class attribute, but authors are encouraged to use values that describe the nature of the content, rather than values that describe the desired presentation of the content.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Suggested wording==&lt;br /&gt;
&lt;br /&gt;
Please add and sign suggestions, so that a composite may be produced at later date. Emboldening may be used to identify changes, and will not be conveyed to the final version.&lt;br /&gt;
&lt;br /&gt;
*replace the final paragraph with...&lt;br /&gt;
**There are no additional restrictions on the tokens authors can use in the class attribute, but authors are encouraged to use values that describe the &#039;&#039;&#039;semantic&#039;&#039;&#039; nature of the content, rather than values that describe the desired presentation of the content. [[User:Pigsonthewing|Pigsonthewing]] 16:00, 11 August 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Prior discussion ==&lt;br /&gt;
* [http://tantek.com/log/2002/12.html#L20021216 A Touch Of Class]&lt;br /&gt;
* [http://tantek.com/log/2004/07.html#classmeaningnotshow Class For Meaning Not For Show]&lt;br /&gt;
* [http://www.meyerweb.com/eric/thoughts/2004/07/18/competent-classing Competant Classing], by Eric Meyer for discussion of choosing class names in (X)HTML&lt;br /&gt;
* [http://www.microformats.org/blog/2005/10/19/more-than-styling/ Class attributes are about more than styling] - Ryan King dispells common misconceptions about the &#039;&#039;HTML&#039;&#039; class attribute.&lt;br /&gt;
&lt;br /&gt;
== Bug ==&lt;br /&gt;
* [http://www.w3.org/Bugs/Public/show_bug.cgi?id=10346 W3C bug 10346]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5338</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5338"/>
		<updated>2010-08-11T16:41:35Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Syntax improvements for reducing DRY violations */ embolden&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - &#039;&#039;&#039;D&#039;&#039;&#039;on&#039;t &#039;&#039;&#039;R&#039;&#039;&#039;epeat &#039;&#039;&#039;Y&#039;&#039;&#039;ourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The datetime values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our time and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &#039;datetime&#039; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5337</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5337"/>
		<updated>2010-08-11T16:40:35Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* year only use cases */ typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-only; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - don&#039;t repeat yourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The datetime values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our time and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &#039;datetime&#039; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5336</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5336"/>
		<updated>2010-08-11T16:38:56Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Calendar scale use cases */ pre-Gregorian  eras&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-ony; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
* See also various use cases under [[#Fuzzy dates]], above for eras pre-dating the Gregorian calendar&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - don&#039;t repeat yourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The datetime values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our time and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &#039;datetime&#039; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5335</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5335"/>
		<updated>2010-08-11T16:37:13Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Fuzzy dates */ Archaeological Periods list&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-ony; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 Douglas Tudhope&#039;s mailing list post] and prior discussion&lt;br /&gt;
:3. [http://www.fish-forum.info/i_apl_e.htm http://www.fish-forum.info/i_apl_e.htm Archaeological Periods list] via [http://www.fish-forum.info/i_apl.htm Archaeological Periods list meta page] - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=1738 Nick Boldrini&#039;s mailing list post]&lt;br /&gt;
:4 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - don&#039;t repeat yourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The datetime values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our time and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &#039;datetime&#039; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5334</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5334"/>
		<updated>2010-08-11T16:32:38Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Fuzzy dates */ Time periods in astronomy&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-ony; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. [http://hypermedia.research.glam.ac.uk/kos/star/time-periods/ Time periods in astronomy]&lt;br /&gt;
::  building on the English Heritage Periods list and Timelines thesaurus - see [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1008&amp;amp;L=FISH&amp;amp;F=&amp;amp;S=&amp;amp;P=3927 mailing list post] and prior discussion&lt;br /&gt;
;3 ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - don&#039;t repeat yourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The datetime values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our time and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &#039;datetime&#039; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5333</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5333"/>
		<updated>2010-08-11T16:17:18Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* year month related posts */ +1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-ony; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - don&#039;t repeat yourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The datetime values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our time and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &#039;datetime&#039; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5332</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5332"/>
		<updated>2010-08-11T16:16:56Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* year only related posts */ +1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-ony; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;hCalendar microformats are already used to mark up imprecise dates (“June 1977″; “2009″). ISO8601 already supports them. Why not HTML5?&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - don&#039;t repeat yourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The datetime values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our time and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &#039;datetime&#039; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - With nesting (and [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time intervals]), the hCalendar example can be made more precise and less verbose like so:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2005-10-05/2005-10-07&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
    &amp;lt;time class=&amp;quot;dtend&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;, at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
=== Current example ===&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
=== Updated example ===&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Class&amp;diff=5331</id>
		<title>Class</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Class&amp;diff=5331"/>
		<updated>2010-08-11T16:05:09Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Prior discussion */ from uFs wiki&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Misapprehensions (citations to follow) abound about the purpose of the class attribute, which is often referred to, plural, as &amp;quot;CSS classes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The wording in the spec should be changed to more clearly indicate the semantic nature of the class attribute, when used properly, and indicate the validity of its use in this way.&lt;br /&gt;
&lt;br /&gt;
== Current wording ==&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Every HTML element may have a class attribute specified.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The attribute, if specified, must have a value that is a set of space-separated tokens representing the various classes that the element belongs to.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The classes that an HTML element has assigned to it consists of all the classes returned when the value of the class attribute is split on spaces. (Duplicates are ignored.)&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Assigning classes to an element affects class matching in selectors in CSS, the getElementsByClassName() method in the DOM, and other such features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;There are no additional restrictions on the tokens authors can use in the class attribute, but authors are encouraged to use values that describe the nature of the content, rather than values that describe the desired presentation of the content.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Suggested wording==&lt;br /&gt;
&lt;br /&gt;
Please add and sign suggestions, so that a composite may be produced at later date. Emboldening may be used to identify changes, and will not be conveyed to the final version.&lt;br /&gt;
&lt;br /&gt;
*replace the final paragraph with...&lt;br /&gt;
**There are no additional restrictions on the tokens authors can use in the class attribute, but authors are encouraged to use values that describe the &#039;&#039;&#039;semantic&#039;&#039;&#039; nature of the content, rather than values that describe the desired presentation of the content. [[User:Pigsonthewing|Pigsonthewing]] 16:00, 11 August 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Prior discussion ==&lt;br /&gt;
* [http://tantek.com/log/2002/12.html#L20021216 A Touch Of Class]&lt;br /&gt;
* [http://tantek.com/log/2004/07.html#classmeaningnotshow Class For Meaning Not For Show]&lt;br /&gt;
* [http://www.meyerweb.com/eric/thoughts/2004/07/18/competent-classing Competant Classing], by Eric Meyer for discussion of choosing class names in (X)HTML&lt;br /&gt;
* [http://www.microformats.org/blog/2005/10/19/more-than-styling/ Class attributes are about more than styling] - Ryan King dispells common misconceptions about the &#039;&#039;HTML&#039;&#039; class attribute.&lt;br /&gt;
&lt;br /&gt;
== Bug ==&lt;br /&gt;
* [http://www.w3.org/Bugs/Public/show_bug.cgi?id=10346 W3C bug 10346]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Class&amp;diff=5330</id>
		<title>Class</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Class&amp;diff=5330"/>
		<updated>2010-08-11T16:01:17Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Suggested wording */ &amp;#039;&amp;#039;&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Misapprehensions (citations to follow) abound about the purpose of the class attribute, which is often referred to, plural, as &amp;quot;CSS classes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The wording in the spec should be changed to more clearly indicate the semantic nature of the class attribute, when used properly, and indicate the validity of its use in this way.&lt;br /&gt;
&lt;br /&gt;
== Current wording ==&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Every HTML element may have a class attribute specified.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The attribute, if specified, must have a value that is a set of space-separated tokens representing the various classes that the element belongs to.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The classes that an HTML element has assigned to it consists of all the classes returned when the value of the class attribute is split on spaces. (Duplicates are ignored.)&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Assigning classes to an element affects class matching in selectors in CSS, the getElementsByClassName() method in the DOM, and other such features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;There are no additional restrictions on the tokens authors can use in the class attribute, but authors are encouraged to use values that describe the nature of the content, rather than values that describe the desired presentation of the content.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Suggested wording==&lt;br /&gt;
&lt;br /&gt;
Please add and sign suggestions, so that a composite may be produced at later date. Emboldening may be used to identify changes, and will not be conveyed to the final version.&lt;br /&gt;
&lt;br /&gt;
*replace the final paragraph with...&lt;br /&gt;
**There are no additional restrictions on the tokens authors can use in the class attribute, but authors are encouraged to use values that describe the &#039;&#039;&#039;semantic&#039;&#039;&#039; nature of the content, rather than values that describe the desired presentation of the content. [[User:Pigsonthewing|Pigsonthewing]] 16:00, 11 August 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Prior discussion ==&lt;br /&gt;
* http://microformats.org/2005/10/19/more-than-styling&lt;br /&gt;
&lt;br /&gt;
== Bug ==&lt;br /&gt;
* [http://www.w3.org/Bugs/Public/show_bug.cgi?id=10346 W3C bug 10346]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Class&amp;diff=5329</id>
		<title>Class</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Class&amp;diff=5329"/>
		<updated>2010-08-11T16:00:19Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: ce&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Misapprehensions (citations to follow) abound about the purpose of the class attribute, which is often referred to, plural, as &amp;quot;CSS classes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The wording in the spec should be changed to more clearly indicate the semantic nature of the class attribute, when used properly, and indicate the validity of its use in this way.&lt;br /&gt;
&lt;br /&gt;
== Current wording ==&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Every HTML element may have a class attribute specified.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The attribute, if specified, must have a value that is a set of space-separated tokens representing the various classes that the element belongs to.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The classes that an HTML element has assigned to it consists of all the classes returned when the value of the class attribute is split on spaces. (Duplicates are ignored.)&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Assigning classes to an element affects class matching in selectors in CSS, the getElementsByClassName() method in the DOM, and other such features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;There are no additional restrictions on the tokens authors can use in the class attribute, but authors are encouraged to use values that describe the nature of the content, rather than values that describe the desired presentation of the content.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Suggested wording==&lt;br /&gt;
&lt;br /&gt;
Please add and sign suggestions, so that a composite may be produced at later date&lt;br /&gt;
&lt;br /&gt;
*replace the final paragraph with...&lt;br /&gt;
**There are no additional restrictions on the tokens authors can use in the class attribute, but authors are encouraged to use values that describe the semantic nature of the content, rather than values that describe the desired presentation of the content. [[User:Pigsonthewing|Pigsonthewing]] 16:00, 11 August 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Prior discussion ==&lt;br /&gt;
* http://microformats.org/2005/10/19/more-than-styling&lt;br /&gt;
&lt;br /&gt;
== Bug ==&lt;br /&gt;
* [http://www.w3.org/Bugs/Public/show_bug.cgi?id=10346 W3C bug 10346]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Class&amp;diff=5328</id>
		<title>Class</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Class&amp;diff=5328"/>
		<updated>2010-08-11T15:56:58Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Suggested wording */ +&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are many misapprehensions (citations to follow) abound about the purpose of the class attribute, which is often referred to, plural, as &amp;quot;CSS classes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The wording in the spec should be changed to more clearly indicate the semantic nature of the class attribute, when used properly, and indicate the validuty of its use in this way.&lt;br /&gt;
&lt;br /&gt;
== Current wording ==&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Every HTML element may have a class attribute specified.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The attribute, if specified, must have a value that is a set of space-separated tokens representing the various classes that the element belongs to.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The classes that an HTML element has assigned to it consists of all the classes returned when the value of the class attribute is split on spaces. (Duplicates are ignored.)&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Assigning classes to an element affects class matching in selectors in CSS, the getElementsByClassName() method in the DOM, and other such features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;There are no additional restrictions on the tokens authors can use in the class attribute, but authors are encouraged to use values that describe the nature of the content, rather than values that describe the desired presentation of the content.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Suggested wording==&lt;br /&gt;
&lt;br /&gt;
Please add and sign suggestions, so that a composite may be produced at later date&lt;br /&gt;
&lt;br /&gt;
*replace the final paragraph with...&lt;br /&gt;
** ...may be used for labelling, styling or indicating meaning&amp;quot; [[User:Pigsonthewing|Pigsonthewing]] 15:49, 11 August 2010 (UTC)&lt;br /&gt;
** ...may be used for labelling, styling or indicating semantics&amp;quot; [[User:Pigsonthewing|Pigsonthewing]] 15:51, 11 August 2010 (UTC)&lt;br /&gt;
** ...although classes allow content to be styled, they should be named to convey semantic meaning&amp;quot; [[User:Pigsonthewing|Pigsonthewing]] 15:52, 11 August 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Prior discussion ==&lt;br /&gt;
* http://microformats.org/2005/10/19/more-than-styling&lt;br /&gt;
&lt;br /&gt;
== Bug ==&lt;br /&gt;
* [http://www.w3.org/Bugs/Public/show_bug.cgi?id=10346 W3C bug 10346]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Class&amp;diff=5327</id>
		<title>Class</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Class&amp;diff=5327"/>
		<updated>2010-08-11T15:56:25Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Current wording */ +&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are many misapprehensions (citations to follow) abound about the purpose of the class attribute, which is often referred to, plural, as &amp;quot;CSS classes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The wording in the spec should be changed to more clearly indicate the semantic nature of the class attribute, when used properly, and indicate the validuty of its use in this way.&lt;br /&gt;
&lt;br /&gt;
== Current wording ==&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Every HTML element may have a class attribute specified.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The attribute, if specified, must have a value that is a set of space-separated tokens representing the various classes that the element belongs to.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The classes that an HTML element has assigned to it consists of all the classes returned when the value of the class attribute is split on spaces. (Duplicates are ignored.)&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Assigning classes to an element affects class matching in selectors in CSS, the getElementsByClassName() method in the DOM, and other such features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;There are no additional restrictions on the tokens authors can use in the class attribute, but authors are encouraged to use values that describe the nature of the content, rather than values that describe the desired presentation of the content.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Suggested wording==&lt;br /&gt;
&lt;br /&gt;
Please add and sign suggestions, so that a composite may be produced at later date&lt;br /&gt;
&lt;br /&gt;
* ...may be used for labelling, styling or indicating meaning&amp;quot; [[User:Pigsonthewing|Pigsonthewing]] 15:49, 11 August 2010 (UTC)&lt;br /&gt;
* ...may be used for labelling, styling or indicating semantics&amp;quot; [[User:Pigsonthewing|Pigsonthewing]] 15:51, 11 August 2010 (UTC)&lt;br /&gt;
* ...although classes allow content to be styled, they should be named to convey semantic meaning&amp;quot; [[User:Pigsonthewing|Pigsonthewing]] 15:52, 11 August 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Prior discussion ==&lt;br /&gt;
* http://microformats.org/2005/10/19/more-than-styling&lt;br /&gt;
&lt;br /&gt;
== Bug ==&lt;br /&gt;
* [http://www.w3.org/Bugs/Public/show_bug.cgi?id=10346 W3C bug 10346]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Class&amp;diff=5326</id>
		<title>Class</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Class&amp;diff=5326"/>
		<updated>2010-08-11T15:52:43Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Suggested wording */ +1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are many misapprehensions (citations to follow) abound about the purpose of the class attribute, which is often referred to, plural, as &amp;quot;CSS classes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The wording in the spec should be changed to more clearly indicate the semantic nature of the class attribute, when used properly, and indicate the validuty of its use in this way.&lt;br /&gt;
&lt;br /&gt;
== Current wording ==&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
== Suggested wording==&lt;br /&gt;
&lt;br /&gt;
Please add and sign suggestions, so that a composite may be produced at later date&lt;br /&gt;
&lt;br /&gt;
* ...may be used for labelling, styling or indicating meaning&amp;quot; [[User:Pigsonthewing|Pigsonthewing]] 15:49, 11 August 2010 (UTC)&lt;br /&gt;
* ...may be used for labelling, styling or indicating semantics&amp;quot; [[User:Pigsonthewing|Pigsonthewing]] 15:51, 11 August 2010 (UTC)&lt;br /&gt;
* ...although classes allow content to be styled, they should be named to convey semantic meaning&amp;quot; [[User:Pigsonthewing|Pigsonthewing]] 15:52, 11 August 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Prior discussion ==&lt;br /&gt;
* http://microformats.org/2005/10/19/more-than-styling&lt;br /&gt;
&lt;br /&gt;
== Bug ==&lt;br /&gt;
* [http://www.w3.org/Bugs/Public/show_bug.cgi?id=10346 W3C bug 10346]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Class&amp;diff=5325</id>
		<title>Class</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Class&amp;diff=5325"/>
		<updated>2010-08-11T15:51:57Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Suggested wording */ semantics&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are many misapprehensions (citations to follow) abound about the purpose of the class attribute, which is often referred to, plural, as &amp;quot;CSS classes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The wording in the spec should be changed to more clearly indicate the semantic nature of the class attribute, when used properly, and indicate the validuty of its use in this way.&lt;br /&gt;
&lt;br /&gt;
== Current wording ==&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
== Suggested wording==&lt;br /&gt;
&lt;br /&gt;
Please add and sign suggestions, so that a composite may be produced at later date&lt;br /&gt;
&lt;br /&gt;
* ...may be used for labelling, styling or indicating meaning&amp;quot; [[User:Pigsonthewing|Pigsonthewing]] 15:49, 11 August 2010 (UTC)&lt;br /&gt;
* ...may be used for labelling, styling or indicating semantics&amp;quot; [[User:Pigsonthewing|Pigsonthewing]] 15:51, 11 August 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Prior discussion ==&lt;br /&gt;
* http://microformats.org/2005/10/19/more-than-styling&lt;br /&gt;
&lt;br /&gt;
== Bug ==&lt;br /&gt;
* [http://www.w3.org/Bugs/Public/show_bug.cgi?id=10346 W3C bug 10346]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Class&amp;diff=5324</id>
		<title>Class</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Class&amp;diff=5324"/>
		<updated>2010-08-11T15:51:13Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: /* Prior discussion */ bug&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are many misapprehensions (citations to follow) abound about the purpose of the class attribute, which is often referred to, plural, as &amp;quot;CSS classes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The wording in the spec should be changed to more clearly indicate the semantic nature of the class attribute, when used properly, and indicate the validuty of its use in this way.&lt;br /&gt;
&lt;br /&gt;
== Current wording ==&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
== Suggested wording==&lt;br /&gt;
&lt;br /&gt;
Please add and sign suggestions, so that a composite may be produced at later date&lt;br /&gt;
&lt;br /&gt;
* ...may be used for labelling, styling or indicating meaning&amp;quot; [[User:Pigsonthewing|Pigsonthewing]] 15:49, 11 August 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Prior discussion ==&lt;br /&gt;
* http://microformats.org/2005/10/19/more-than-styling&lt;br /&gt;
&lt;br /&gt;
== Bug ==&lt;br /&gt;
* [http://www.w3.org/Bugs/Public/show_bug.cgi?id=10346 W3C bug 10346]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Class&amp;diff=5323</id>
		<title>Class</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Class&amp;diff=5323"/>
		<updated>2010-08-11T15:49:44Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: a start&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are many misapprehensions (citations to follow) abound about the purpose of the class attribute, which is often referred to, plural, as &amp;quot;CSS classes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The wording in the spec should be changed to more clearly indicate the semantic nature of the class attribute, when used properly, and indicate the validuty of its use in this way.&lt;br /&gt;
&lt;br /&gt;
== Current wording ==&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
== Suggested wording==&lt;br /&gt;
&lt;br /&gt;
Please add and sign suggestions, so that a composite may be produced at later date&lt;br /&gt;
&lt;br /&gt;
* ...may be used for labelling, styling or indicating meaning&amp;quot; [[User:Pigsonthewing|Pigsonthewing]] 15:49, 11 August 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Prior discussion ==&lt;br /&gt;
* http://microformats.org/2005/10/19/more-than-styling&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Main_Page&amp;diff=5321</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Main_Page&amp;diff=5321"/>
		<updated>2010-08-11T15:45:46Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: class&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the WHATWG Wiki!&lt;br /&gt;
&lt;br /&gt;
You can be a part of our community, making proposals for the next version of HTML5. This wiki is made available for you for drafting proposals, for writing essays, for keeping track of HTML-related issues, and so forth. Anyone can create an account and contribute content.&lt;br /&gt;
&lt;br /&gt;
Before you begin, you may wish to read our [[WHATWG Wiki:Contribution Guidelines|contribution guidelines]].&lt;br /&gt;
&lt;br /&gt;
==Purpose==&lt;br /&gt;
The purpose of the WHATWG Wiki is to create a place for WHATWG contributors to post and compile their own proposals and ideas regarding WHATWG specifications. The specifications themselves will not be available for editing via this wiki. However, ideas you post here may find their way into current and future WHATWG specifications.&lt;br /&gt;
&lt;br /&gt;
== Main sections and Quick links ==&lt;br /&gt;
* [[FAQ]]&lt;br /&gt;
* [[Implementations]]&lt;br /&gt;
* [[What you can do]] — &#039;&#039;&#039;[[Reviewing HTML5|Help us review HTML5!]]&lt;br /&gt;
* [[Authoring|Using HTML 5 in your Web site]]&lt;br /&gt;
* [[HTML vs. XHTML]]&lt;br /&gt;
* [[HTML5 Presentations]]&lt;br /&gt;
* [[Spec coordination]]&lt;br /&gt;
* [[IDE]]&lt;br /&gt;
* [[Testsuite]]&lt;br /&gt;
* [[Registries]]&lt;br /&gt;
&lt;br /&gt;
==WHATWG Specifications==&lt;br /&gt;
* [[HTML5]]&lt;br /&gt;
* [[Web Workers]]&lt;br /&gt;
* See also [[FAQ#What_are_the_various_versions_of_the_spec.3F|What are the various versions of the spec?]] in the FAQ.&lt;br /&gt;
&lt;br /&gt;
==Communicating with the community==&lt;br /&gt;
The WHATWG community has several channels of communication:&lt;br /&gt;
* [http://www.whatwg.org/mailing-list Mailing lists]&lt;br /&gt;
* [http://blog.whatwg.org/ The blog], including [http://blog.whatwg.org/category/whats-next Mark Pilgrim&#039;s column &amp;quot;What&#039;s next in HTML5&amp;quot;]&lt;br /&gt;
* [http://www.w3.org/html/planet/ W3C&#039;s &amp;quot;HTML5 planet&amp;quot;]&lt;br /&gt;
* [http://forums.whatwg.org/ The forum]&lt;br /&gt;
* [[IRC]]&lt;br /&gt;
* [http://wiki.whatwg.org/ This wiki]&lt;br /&gt;
&lt;br /&gt;
== Research and data ==&lt;br /&gt;
Research pertaining to and data on publishing behavior for various bits of markup, used to help drive decisions made in/for HTML5 for specific elements and attributes.&lt;br /&gt;
=== feature areas ===&lt;br /&gt;
* [[timed tracks]]&lt;br /&gt;
=== elements ===&lt;br /&gt;
* [[cite]]&lt;br /&gt;
* [[del]]&lt;br /&gt;
* [[input]]&lt;br /&gt;
* [[summary]]&lt;br /&gt;
* [[time]]&lt;br /&gt;
&lt;br /&gt;
=== attributes ===&lt;br /&gt;
* [[alt]]&lt;br /&gt;
* [[charset]] &lt;br /&gt;
* [[class]]&lt;br /&gt;
* [[longdesc]]&lt;br /&gt;
* [[sandbox]]&lt;br /&gt;
* [[Table Summary|summary]]&lt;br /&gt;
&lt;br /&gt;
=== meta ===&lt;br /&gt;
* [[Content-Language]]&lt;br /&gt;
&lt;br /&gt;
These pages may also be of interest:&lt;br /&gt;
&lt;br /&gt;
* [[Issue Discussion]]&lt;br /&gt;
* [[Feature Proposals]]&lt;br /&gt;
* [[Presentational elements and attributes]]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5319</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5319"/>
		<updated>2010-08-11T15:00:04Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: ,&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases, evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-ony; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - don&#039;t repeat yourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The datetime values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our time and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &#039;datetime&#039; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
	<entry>
		<id>https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5318</id>
		<title>Time element</title>
		<link rel="alternate" type="text/html" href="https://wiki.whatwg.org/index.php?title=Time_element&amp;diff=5318"/>
		<updated>2010-08-11T14:59:39Z</updated>

		<summary type="html">&lt;p&gt;Pigsonthewing: and use-cases&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Summary: Research, data, use cases, issues, and enhancements related to the [http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element HTML5 &amp;lt;code&amp;gt;time&amp;lt;/code&amp;gt; element].&lt;br /&gt;
&lt;br /&gt;
HTML5&#039;s new &amp;amp;lt;time&amp;amp;gt; element presents a huge opportunity to improve the publishing of datetime information on the web, the biggest opportunity since the introduction of hCalendar and other time-based microformats.&lt;br /&gt;
&lt;br /&gt;
However, the &amp;amp;lt;time&amp;amp;gt; element currently has several shortcomings that both prevent it from being used in numerous use-cases, and are suboptimal for authoring and data longevity.&lt;br /&gt;
&lt;br /&gt;
Please read the following proposals for improving the &amp;amp;lt;time&amp;amp;gt; element, grouped by category, and offer your opinions, use-cases evidence and - hopefully - support in the respective discussion sections.&lt;br /&gt;
&lt;br /&gt;
Thanks for your consideration,&lt;br /&gt;
&lt;br /&gt;
[[User:Tantek|Tantek]] (and other proposal authors).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please add new proposals to the end of the most relevantly related section, or if you&#039;re not sure where (or if there is no related section), at the end of the [[Time_element#Miscellaneous_proposals|Miscellaneous proposals]] section.&lt;br /&gt;
&lt;br /&gt;
=Date granularity=&lt;br /&gt;
== year only ==&lt;br /&gt;
The time element should accept just a year.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY&lt;br /&gt;
=== year only use cases ===&lt;br /&gt;
use case research:&lt;br /&gt;
* http://microformats.org/wiki/birthday-examples#year_only&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY instances]&lt;br /&gt;
* [http://en.wikipedia.org/w/index.php?title=Ethan_Stiefel&amp;amp;oldid=377074089 Wikipedia infobox with YYYY birthdate] (unknown MM-DD)&lt;br /&gt;
* Copyright notices are often year-ony; e.g. that at the foot of [http://www.rspb.org.uk/groups/suttoncoldfield/]&lt;br /&gt;
&lt;br /&gt;
=== year only discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2 years on Wikipedia] (&amp;quot;...global military conflict lasting from 1939 to 1945...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year only related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year only) :&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like ... “1935″ which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year month only ==&lt;br /&gt;
The time element should accept just a year and a month.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-MM&lt;br /&gt;
&lt;br /&gt;
=== year month use cases ===&lt;br /&gt;
* Blog/publishing archive pages - see Benward.me, ablognotlimited.com (need specific links to archive pages)&lt;br /&gt;
** http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
** [http://lists.whatwg.org/htdig.cgi/help-whatwg.org/ whatwg&#039;s own mailing list archives] (!)&lt;br /&gt;
* output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;month&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]].&lt;br /&gt;
* use cases in VCARDDAV &amp;amp; EDTF - see external links&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Template:Start_date Wikipedia &#039;Start date&#039; template] - thousands of [http://bit.ly/aKhmdQ YYYY-MM instances]&lt;br /&gt;
* Credit/ debit card expiry dates, entered into, then republished for verification on, e-commerce sites (security concerns prohibit use of example URL) &lt;br /&gt;
&lt;br /&gt;
=== year month discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Faruk]] (per [http://www.w3.org/Bugs/Public/show_bug.cgi?id=7145 Bug 7145 - Valid date strings should accept ambiguous inputs, like &amp;quot;2009&amp;quot; or &amp;quot;2007-01&amp;quot;]) One example is the very common archive view found on most blogs, which contain distinct links or headers for each year, each month per year, and often each date within a chosen or highlighted month. Currently, the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element only allows for &amp;lt;code&amp;gt;datetime&amp;lt;/code&amp;gt; values as precise as a specific day, e.g. YYYY-MM-DD.&lt;br /&gt;
* -1 [[Hixie]] - &amp;quot;Without clear use cases, I don&#039;t intend to change the spec here.&amp;quot; (ibid)&lt;br /&gt;
* +1 [[User:Tantek|Tantek]] I think the blog archives use case (where blogs often link to their archives by a specific month and year) is sufficient to justify adding this capability to the time element. Content hosting sites like Flickr also list archives by specific year/month, e.g. see http://www.flickr.com/photos/tantek/archives/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV &amp;amp; EDTF - see external links)&lt;br /&gt;
* +1 [[User:Philipj|Philip Jägenstedt]] - for marking up [http://musicbrainz.org/release/aa82c130-c734-4d9c-b06a-5bba9b44295d.html release dates on e.g. MusicBrainz] where the date is given as YYYY, YYYY-MM or YYYY-MM-DD.&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] - for marking up [http://en.wikipedia.org/wiki/World_war_2#Japanese_invasion_of_China month+year on Wikipedia] (&amp;quot;In July 1937, Japan captured the former Chinese imperial capital of Beiping...&amp;quot;).&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== year month related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to year-month) :&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up ... dates like “July 2008″ ... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/#time 2009-03-06 Marking up a blog with HTML 5 (part 2) : Time] blog post by Bruce Lawson: &amp;lt;blockquote&amp;gt;I suggest the spec be amended to allow dates like &amp;quot;July 1966&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/ 2009-08-20 HTML 5: what’s hot, what’s not] blog post by Bruce Lawson - see section on TIME which explicitly mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-whats-hot-whats-not/&amp;quot;&amp;gt;The time element is still hamstrung by not being able to markup ... dates like “December 1935″&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://adactio.com/journal/1604/ 2009-08-30 HTML5 and me] blog post by Jeremy Keith - see section on &amp;quot;time&amp;quot; which explicitly mentions &amp;lt;blockquote cite=&amp;quot;http://adactio.com/journal/1604/&amp;quot;&amp;gt;make a piece of information like “April 1912” machine-readable&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the &amp;lt;nowiki&amp;gt;[sic]&amp;lt;/nowiki&amp;gt; it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era. Neither can you encode imprecise dates such as “July 1904″.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== year week only ==&lt;br /&gt;
The time element should accept just a year and a week number.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:YYYY-WNN&lt;br /&gt;
;use case research&lt;br /&gt;
:no examples in the wild currently.  If anyone knows of any sites which publish references to specific weeks of a year, either by name / expression (e.g. &amp;quot;first week of the year&amp;quot;) or by specific number (e.g. &amp;quot;weeks 1-26&amp;quot;), please provide URLs and quotes of example content.&lt;br /&gt;
:output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;, see [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
;reasoning&lt;br /&gt;
:to provide the output equivalent of &amp;lt;code&amp;gt;&amp;amp;lt;input type=&amp;quot;week&amp;quot;&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Time_element#impedance_match_new_date_time_inputs|impedance match new date time inputs]] above.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] per good design of impedance matching date time inputs.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== month day only ==&lt;br /&gt;
The time element should accept just a month and a day.&lt;br /&gt;
;ISO8601 syntax&lt;br /&gt;
:--MM-DD&lt;br /&gt;
;use case research&lt;br /&gt;
:http://microformats.org/wiki/birthday-examples#month_and_day_only&lt;br /&gt;
:[http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF - see external links&lt;br /&gt;
:Facebook - allows users to elect to show their birthday as, for example, &amp;quot;17 December&amp;quot;, with no year.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] (per [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element])&lt;br /&gt;
* +1 &amp;quot;radiz&amp;quot; implied support for --MM-DD with the use case question: &amp;quot;How to use &amp;amp;lt;time&amp;amp;gt; with a date in astrology?&amp;quot; in the article http://html5doctor.com/your-questions-answered-6/&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per [http://www.ietf.org/mail-archive/web/vcarddav/current/msg00999.html use cases discussed in VCARDDAV] &amp;amp; EDTF, e.g. birthdays, wedding anniversaries - see external links)&lt;br /&gt;
** [http://portablecontacts.net/draft-spec.html#anchor16 Portable contacts allows this] using a &amp;quot;0000&amp;quot; year value.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HTML5 internal consistency =&lt;br /&gt;
== impedance match new date time inputs ==&lt;br /&gt;
The time element should be able to represent every granularity of times and dates that the new date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements allow. Here is a list of all the date time &amp;lt;code&amp;gt;&amp;amp;lt;input&amp;amp;gt;&amp;lt;/code&amp;gt; elements along with the corresponding &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element usage (if applicable)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;date&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;YYYY-MM-DD&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime&amp;quot;&amp;gt;       - &amp;lt;time&amp;gt;YYYY-MM-DDTHH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;month&amp;quot;&amp;gt;          - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;week&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;time&amp;quot;&amp;gt;           - &amp;lt;time&amp;gt;HH:MM:SS&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;datetime-local&amp;quot;&amp;gt; - &amp;lt;time&amp;gt;HH:MM:SS-ZZ:YY&amp;lt;/time&amp;gt;&lt;br /&gt;
New proposed input elements:&lt;br /&gt;
&amp;lt;input type=&amp;quot;year&amp;quot;&amp;gt;           - not supported in current time element&lt;br /&gt;
&amp;lt;input type=&amp;quot;month-day&amp;quot;&amp;gt;      - not supported in current time element&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular the &amp;lt;code&amp;gt;&amp;amp;lt;time&amp;amp;gt;&amp;lt;/code&amp;gt; element is missing support for the following date inputs:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;month&amp;quot; - this would be satisfied by the [[Time_element#year_month_only|time element year month proposal]].&lt;br /&gt;
* input type=&amp;quot;week&amp;quot; - this would be satisfied by the [[Time_element#year_week_only|time element year week proposal]].&lt;br /&gt;
&lt;br /&gt;
In addition, if the new proposed [[input]] elements are accepted, the respective time element support should be added as well:&lt;br /&gt;
&lt;br /&gt;
* input type=&amp;quot;year&amp;quot; - this would be satisfied by the [[Time_element#year_only|time element year proposal]].&lt;br /&gt;
* input type=&amp;quot;month-day&amp;quot; - this would be satisfied by the [[Time_element#month_day_only|time element month day proposal]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]]&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]]&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proposals extending scope =&lt;br /&gt;
&lt;br /&gt;
== Fuzzy dates ==&lt;br /&gt;
The time element should accept &#039;&#039;fuzzy&#039;&#039; (uncertain, approximate) dates (&amp;quot;around 18 June 1855&amp;quot; &amp;quot;summer 1970&amp;quot;, &amp;quot;circa December 1963&amp;quot;, &amp;quot;flourished 1580&amp;quot;), centuries, and eras (&amp;quot;Edwardian&amp;quot;, &amp;quot;bronze age&amp;quot;, &amp;quot;Jurassic&amp;quot;)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
;Use cases:&lt;br /&gt;
:1. &amp;quot;... an application that might input Wikipedia data and output an annotated visual timeline. For movements or trends rather than events, it would need to output rough dates and date ranges like 2001-2003, rather than exact dates.&amp;quot;[http://www.zeldman.com/superfriends/guide/#time] &lt;br /&gt;
::Implemented, see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links], (target site currently broken, but worked previously; a fix is promised shortly), but can only map precise dates, because there is currently no way to mark up fuzzy dates in a machine-readable format. The acceptance of this proposal would allow this implementation and others to map all such dates. Note that the implementation works with any site, not just Wikipedia, by parsing hCalendar microformats.&lt;br /&gt;
:2. ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in &amp;quot;Extended Date Time Format&amp;quot; proposals &amp;amp; TEI - see external links)&lt;br /&gt;
**Uncertainty possibly resolved by a &amp;quot;certainty&amp;quot; attribute: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1855-06-18&amp;quot; certainty=&amp;quot;3days&amp;quot;&amp;gt;around 18 June 1855&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1970-06&amp;quot; certainty=&amp;quot;45days&amp;quot;&amp;gt;summer 1970&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;(with &amp;quot;45days&amp;quot; meaning &amp;quot;+/- 45 days&amp;quot; - in other words, a 90-day window, and similar allowance for year or other ranges; or: &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1963-12&amp;quot; certainty=&amp;quot;circa&amp;quot;&amp;gt;circa December 1963&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;with pre-defined prose values allowed, such as &amp;quot;flourished&amp;quot;, &amp;quot;notbefore&amp;quot;, &amp;quot;notafter&amp;quot;, etc.&lt;br /&gt;
* +1 [[User:eatyourgreens|Jim O&#039;Donnell]] (Dates such as &#039;circa 1910&#039; published on Flickr eg. [http://www.flickr.com/photos/nationalmaritimemuseum/4793356412/ The RNVR Training Ship &#039;Buzzard&#039;…] also [http://www.flickr.com/photos/nationalmaritimemuseum/archives/ a list of fuzzy dates for a set of photos].)&lt;br /&gt;
* 0 (comments) [[User:Tantek|Tantek]] - Update: the syntax still seems a bit loose/imprecise, however, I appreciate the improvements being made. Some additional changes for consideration:&lt;br /&gt;
** certainty attribute, empty or missing is equivalent to &amp;quot;0&amp;quot; (absolute certainty presumably)&lt;br /&gt;
** certainty attribute takes an ISO8601 duration.&lt;br /&gt;
** alternatively it might make more sense to introduce a compound time structure for ranges such as the use case example of 2001-2003. Here is a strawman markup example (feel free to pick alternative markup, but re-using nested time elements for portions of a range seem useful)&lt;br /&gt;
*** &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;range&amp;gt;&amp;lt;time&amp;gt;2001&amp;lt;/time&amp;gt;-&amp;lt;time&amp;gt;2003&amp;lt;/time&amp;gt;&amp;lt;/range&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* +1 [http://listserv.loc.gov/cgi-bin/wa?A2=ind1008&amp;amp;L=datetime&amp;amp;T=0&amp;amp;X=4659876DD4D919D154&amp;amp;Y=andy%40pigsonthewing.org.uk&amp;amp;P=765 Bruce Darcus says]: &amp;quot;[While] I definitely think the use case is important...&lt;br /&gt;
**&amp;quot;...I&#039;m of the very strong opinion that an extended data-time format ought to be self-contained, and so not rely on format-specific extensions like X/HTML attributes. One ought to be able to use the same representation in an HTML attribute, or a JSON or RDF value, and losslessly convert among them. For that reason, I very much prefer the current [http://www.loc.gov/standards/datetime/features.html#300 draft idea in EDTF of doing &amp;quot;2000?&amp;quot; or &amp;quot;2000~&amp;quot;.]&amp;quot;&lt;br /&gt;
* +1 [[User:asbjornu|Asbjørn Ulsberg]] I like the concept, but the syntax should be less verbose and more precise.&lt;br /&gt;
** &amp;quot;Circa&amp;quot; can be indicated with a tilde prefix &amp;quot;~&amp;quot;&lt;br /&gt;
** Ranges can use [http://en.wikipedia.org/wiki/ISO_8601#Time_intervals ISO-8601 time interval syntax], like &amp;quot;2007/2008&amp;quot; or &amp;quot;2007-2008&amp;quot; which is also allowed (according to section 4.4.2).&lt;br /&gt;
&lt;br /&gt;
== Calendar scale ==&lt;br /&gt;
The time element should accept a calendar scale (CALSCALE; default is GREGORIAN) per (and to facilitate interoperability with) the [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 emergent vCard 4 specification], to allow for the the mark-up of non-Gregorian (e.g. Julian) dates, using one of a set of pre-defined CALSCALE types.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale example ===&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;time datetime=&amp;quot;1330-06-01&amp;quot; calscale=&amp;quot;julian&amp;quot;&amp;gt;1 June 1330&amp;lt;/time&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale processing ===&lt;br /&gt;
User agents could be instructed to ignore any unrecognised CALSCALE value, treating the contents of the element as plain text for data-processing (but not styling) purposes. This would prevent, for example the processing of the above example by an agent written to deal only with Gregorian dates. (At some point, CSS should recognise CALSCALE, allowing authors to, say, style all Julian dates differently to Gregorian dates.)&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale use cases ===&lt;br /&gt;
Use case research:&lt;br /&gt;
* The Wikipedia timeline example in [http://www.zeldman.com/superfriends/guide/#time HTML5 Super Friends Technical Details: time element] proposes to map a timeline of dates from Wikipedia (e.g. 2001-2003 Gregorian). However, Wikipedia includes several thousand articles about or referring to &amp;lt;em&amp;gt;pre&amp;lt;/em&amp;gt;-Gregorian era events, usually using the Julian calendar, such as the birth and death of [http://en.wikipedia.org/wiki/Julius_ceasar Julius Ceaser] and, in the same article, the Ides of March (15 March) 44 BC. The existing timeline implementation (see [http://en.wikipedia.org/w/index.php?title=Bob_Brettle&amp;amp;oldid=376645341#External_links] - target site currently broken, but worked previously; a fix is promised shortly) can only map Wikipedia&#039;s Gregorian dates, because there is currently no way to mark up Julian dates in a machine-readable format. The use of CALSCALE as suggested would allow this implementation and others to map all of these dates. (Note that the implementation works with any site, not just Wikipedia, parsing hCalendar microformats.)&lt;br /&gt;
* Julian dates in [http://ourgeorgiahistory.com/year/1577 timeline of Georgia]: &lt;br /&gt;
* General: non-Gregorian dates are published in documents about museum artifacts, history, archaeology, genealogy etc. and in archives of historic documents.&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[User:Pigsonthewing|Andy Mabbett]] (Per use cases in VCARDDAV, EDTF &amp;amp; TEI - see external links)&lt;br /&gt;
* 0 [[User:Tantek|Tantek]] - Update: I have mixed feelings about this. On one hand, despite years of the presence of the CALSCALE feature in iCalendar etc., there are no implementations (AFAIK) of non-GREGORIAN CALSCALE values in iCalendar etc. user agents, thus there is no reason to believe that specifying it in HTML5 would actually encourage any other user agents to implement it either. On the other hand the Wikipedia long-term timeline use case &amp;lt;em&amp;gt;does&amp;lt;/em&amp;gt; appeal to me so overall I&#039;ve upgraded my opinion on this from -1 to 0 neutral.&lt;br /&gt;
* …&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calendar scale related posts ===&lt;br /&gt;
Related posts (listed with quotes directly related to Calendar scale) :&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ 2009-02-23 Dates and coordinates in HTML5] blog post by Andy Mabbett - &amp;lt;blockquote cite=&amp;quot;http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/&amp;quot;&amp;gt;The issue of non-Gregorian (chiefly Julian) dates is a vexing one; and has already caused problems on Wikipedia. So far as I am aware, there is no ISO-, RFC- or similar standard for such dates, other than converting them to Gregorian dates. It is not the job of the HTML5 working group to solve this problem; but I think the group should recognise that at some point a solution must be forthcoming. One way to do so would be allow something like [(refers to prototype CALSCALE)] where the schema defaults to ISO 8601 if not stated, and the whole element is treated as simply [date in plain text] if the schema is unrecognised; thereby ensuring backwards compatibility. That way, if a hypothetical ISO- or other standard for Julian dates emerges in the future, authors may simply start to use it without any revision to HTML 5 being required.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* [http://www.brucelawson.co.uk/2009/html-5-politics-and-me/ 2009-02-25 HTML 5, politics and me] blog post by Bruce Lawson - look for mention of &amp;quot;time element&amp;quot; which mentions: &amp;lt;blockquote cite=&amp;quot;http://www.brucelawson.co.uk/2009/html-5-politics-and-me/&amp;quot;&amp;gt;I see no reason why authors shouldn’t be able to mark up BCE dates... which are currently disallowed by the spec&amp;lt;/blockquote&amp;gt; BCE dates are typically in the Julian (or other?) calendar and thus a request for BCE dates markup implies something at least like Calendar scale&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ 2010-02-09 The time element (and microformats)] blog post on HTML5 Doctor by Bruce Lawson - mentions: &amp;lt;blockquote&amp;gt;The only trouble with &amp;amp;lt;time&amp;amp;gt; is that the it must contain positive date on the Proleptic Gregorian calendar, meaning you can’t encode a date before the Christian Era.&amp;lt;/blockquote&amp;gt; Again, seemingly implying a desire for non-Gregorian calendars as well.&lt;br /&gt;
&lt;br /&gt;
= Syntax improvements for reducing DRY violations =&lt;br /&gt;
&lt;br /&gt;
We know from experience with past methods of duplicated invisible (meta)data, and more recently, development/use/experience with visible microformats, that when we are able to re-use the visible data, published *once*, by humans for humans, we get more accurate data over time, than when we have at times asked for *duplicating* the data in a different (more machine readable) format (or location).  &lt;br /&gt;
&lt;br /&gt;
This experience yielded the microformats adoption of the DRY principle - don&#039;t repeat yourself - in application to (meta)dataformat designs and techniques.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;time&amp;amp;gt; element currently encourages DRY violations in most of its use cases (duplication of datetime information inside the &#039;datetime&#039; attribute in addition to the visible content of the element). &lt;br /&gt;
&lt;br /&gt;
This is not a new problem, we&#039;ve had much the same DRY problem in microformats representations of dates and times, originally with (excessive and in many cases inaccessible) use of the &amp;amp;lt;abbr&amp;amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
Subsequently (through years of debate, experimentation, iteration) we&#039;ve largely addressed both most of the DRY violations (or greatly mitigated their impact) and resolved accessibility related &amp;amp;lt;abbr&amp;amp;gt; problems with the introduction and successful adoption of the Value Class Pattern (developed in parallel with the time element, and not surprisingly with some newer improvements).&lt;br /&gt;
&lt;br /&gt;
http://microformats.org/wiki/value-class-pattern#Date_and_time_values&lt;br /&gt;
&lt;br /&gt;
We&#039;d like to see the lessons learned (and improvements made as a result of the value class pattern) adopted in HTML5 as well, for much the same reasons, to make the HTML5 &amp;amp;lt;time&amp;amp;gt; element the best and most long term accurate way to represent all date and time information in microformats (or microdata for that matter).&lt;br /&gt;
&lt;br /&gt;
Accordingly, please consider the following &amp;amp;lt;time&amp;amp;gt; syntax processing improvements for better DRY (and mitigation) and thus more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== composite nested time elements ==&lt;br /&gt;
A time element should permit child time elements which may contain only partial date time information which can then be composed into more complete date time information.&lt;br /&gt;
&lt;br /&gt;
This is intended as a cleaner way to provide functionality equivalent to the microformats [http://microformats.org/wiki/value-class-pattern#Date_and_time_values value-class-pattern date and time values pattern].&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot; datetime=&amp;quot;2009-12-13T17:43:29&amp;quot;&amp;gt;&lt;br /&gt;
  Sunday, December 13th, 2009&lt;br /&gt;
  5:43pm&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and have the parent &amp;amp;lt;time&amp;amp;gt; element composite a complete datetime from the child &amp;amp;lt;time&amp;amp;gt; elements with separate date and time.&lt;br /&gt;
&lt;br /&gt;
The datetime values are more readable (per accessibility research etc.), and thus more easily human verifiable as being the &amp;quot;same&amp;quot; value as the in-content text, thus resulting in incrementally more accurate data over time.&lt;br /&gt;
&lt;br /&gt;
This type of date and time compositing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== background ===&lt;br /&gt;
Currently the &amp;amp;lt;time&amp;amp;gt; element forces you to duplicate and hide date time information if you want to avoid displaying the not-very-friendly full ISO datetime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&lt;br /&gt;
        datetime=&amp;quot;2010-08-05T18:00:00&amp;quot;&amp;gt;18:00 on 2010-08-05&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the date and time information is duplicated (violating DRY, placing the content at risk of divergence).&lt;br /&gt;
&lt;br /&gt;
=== microformats value class pattern DRY advantage ===&lt;br /&gt;
With the microformats value-class-pattern date and time values pattern you could instead mark this up like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;span class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;18:00&amp;lt;/span&amp;gt; on &lt;br /&gt;
     &amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;2010-08-05&amp;lt;/span&amp;gt;&lt;br /&gt;
  &amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantages: no duplication of time and date data! (avoiding DRY violation) If you need to update the info, you only have to update it in one place, thus reducing the chances of inforot.&lt;br /&gt;
&lt;br /&gt;
Disadvantage: the loss of the HTML5 time semantic.&lt;br /&gt;
&lt;br /&gt;
=== simple nested time example improvement ===&lt;br /&gt;
We&#039;d like to have our time and date time separation as well, so this should work:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== summary of updated datetime algorithm ===&lt;br /&gt;
In short: the algorithm for determining the &amp;quot;datetime&amp;quot; of a time element should:&lt;br /&gt;
# check for an explicit &#039;datetime&#039; attribute (allowing a local to element override regardless of child elements)&lt;br /&gt;
# check for nested &amp;amp;lt;time&amp;amp;gt; elements, and if any are found, compose their values into a more complete date and time (use the first date found if any, then the first time found, if any. thus latter dates or times are gracefully ignored)&lt;br /&gt;
# use the complete contents of the &amp;amp;lt;time&amp;amp;gt; element as its datetime value.&lt;br /&gt;
&lt;br /&gt;
Essentially, step 2 is added to enable composing nested child time elements.&lt;br /&gt;
&lt;br /&gt;
=== applicability to microdata ===&lt;br /&gt;
All of the aforementioned advantages for microformats apply to microdata use of the &amp;amp;lt;time&amp;amp;gt; element as well.  microformats are used in the above examples as that is the type of content (including the value class pattern) that is being published today (e.g. see http://microformats.org/wiki/events - the markup on that page itself).&lt;br /&gt;
&lt;br /&gt;
=== nested time example with datetime attribute ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of dates (rather than the previous simple example with the most overall internationally human-friendly/readable YYYY-MM-DD ISODate), they can still do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;18:00&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The advantage here over the current time element is that the DRY violation is &amp;lt;em&amp;gt;limited&amp;lt;/em&amp;gt; to only the date information (instead of date &amp;lt;em&amp;gt;and time&amp;lt;/em&amp;gt; information), thus reducing the risk of data divergence due to duplication.&lt;br /&gt;
&lt;br /&gt;
=== nested time example with two datetimes ===&lt;br /&gt;
If the publisher prefers to publish a &amp;quot;localized&amp;quot; form of times, they can do that as well:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;18:00:00&amp;quot;&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time datetime=&amp;quot;2010-08-05&amp;quot;&amp;gt;August 5th, 2010&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: The two separate &#039;datetime&#039; attributes (containing just the time and just the date) are &amp;lt;em&amp;gt;more&amp;lt;/em&amp;gt; human-readable than a single datetime attribute containing both, and thus there is a slightly better chance that the few humans that check would correctly determine whether the times and dates in the datetime attributes represent the same value as the content of the element.&lt;br /&gt;
&lt;br /&gt;
The AM/PM proposal below further helps improve this example.&lt;br /&gt;
&lt;br /&gt;
=== nested time discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - I&#039;d really like to be able to more cleanly markup dates and times than the best we have been able to do so far with microformats (the aforementioned value-class-pattern), and HTML5 presents us with the potential to do so.&lt;br /&gt;
* -1 [[User:Pigsonthewing|Andy Mabbett]] - Introduces excessive complexity on the apparent assumption that a significant proportion of dates in the wild (or even in microformats in the wild) use the format &amp;quot;2010-08-05&amp;quot; and not more human-readable and accessible prose such as, say, &amp;quot;5 August 2010&amp;quot; or &amp;quot;August 5th, 2010&amp;quot;. No evidence (also supposedly required by the microformats &amp;quot;process&amp;quot;) has been provided to show that this is the case. {If the apparent assumption is not made, then this fails 80/20.) &#039;&#039;&#039;Update&#039;&#039;&#039;: Subsequent changes have addressed some of my concerns. The proposal to separate times from dates &#039;&#039;with datetime attributes&#039;&#039; is a better one. However, we still lack supporting evidence and I object to any wording in the spec which perpetuates the myth that YYYY-MM-DD dates are in any way &amp;quot;human-friendly/readable&amp;quot; compared to prose dates: &amp;quot;international&amp;quot; readability is irrelevant, when pages are otherwise in one language or another.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== am pm and coarser time parsing ==&lt;br /&gt;
Right now time values inside a &amp;amp;lt;time&amp;amp;gt; element are required to specify hours in 24 hour time.  We want the time element to accept am/pm times as well.&lt;br /&gt;
&lt;br /&gt;
In short, instead of this (actual example derived from markup of blog post [http://adactio.com/journal/1632/ HTML5 watch by Jeremy Keith], with nested time elements per previous proposal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;17:43:29&amp;quot;&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We want to be able to do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;time class=&amp;quot;published&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;time datetime=&amp;quot;2009-12-13&amp;quot;&amp;gt;Sunday, December 13th, 2009&amp;lt;/time&amp;gt; &lt;br /&gt;
  &amp;lt;time&amp;gt;5:43pm&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/time&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a minor DRY improvement (time info is no longer duplicated), but one that we think is worth it across the numerous pieces of content authored as such and the resulting increased accuracy from DRY reduction.&lt;br /&gt;
&lt;br /&gt;
This type of am pm parsing as spec&#039;d in the Value Class Pattern has been interoperably implemented and shipped (Operator, X2V).  Thus we think it is reasonable to add this similar feature to HTML5.&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax summary ===&lt;br /&gt;
&lt;br /&gt;
In our experience with the microformats value class pattern date and time values we&#039;ve found it is relatively easy to both specify and implement (multiple implementations) parsing of (potentially coarser) am and pm values to permit a broader set of values to marked up directly (rather than with a separate datetime/title attribute).&lt;br /&gt;
&lt;br /&gt;
In short, the current &amp;amp;lt;time&amp;amp;gt; element only allows for the following time syntax:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SS - where HH is in 24 hour time.&lt;br /&gt;
&lt;br /&gt;
This proposal expands the allowed time syntax to:&lt;br /&gt;
&lt;br /&gt;
* HH:MM:SSam&lt;br /&gt;
* HH:MM:SSpm&lt;br /&gt;
* HH:MMam&lt;br /&gt;
* HH:MMpm&lt;br /&gt;
* HHam&lt;br /&gt;
* HHpm&lt;br /&gt;
&lt;br /&gt;
=== am pm syntax details ===&lt;br /&gt;
* &#039;&#039;&#039;periods, white-space, case-insensitivity.&#039;&#039;&#039; &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot; mean &amp;quot;am or a.m.&amp;quot; and &amp;quot;pm or p.m.&amp;quot; with optional leading (&amp;quot;6 pm&amp;quot;) and intermittent (&amp;quot;6 p. m.&amp;quot;) white-space; and are case-insensitive (&amp;quot;6 PM&amp;quot;).&lt;br /&gt;
* &#039;&#039;&#039;implied 00 minutes and seconds.&#039;&#039;&#039; When :SS or :MM:SS is omitted, infer :00 or :00:00, respectively.;&lt;br /&gt;
* &#039;&#039;&#039;handling of 12am and 12pm.&#039;&#039;&#039; &amp;quot;12am&amp;quot; is treated as &amp;quot;00:00:00&amp;quot; (midnight at the start of the day). &amp;quot;12pm&amp;quot; is treated as &amp;quot;12:00:00&amp;quot; (noon).&lt;br /&gt;
&lt;br /&gt;
=== simple am pm example ===&lt;br /&gt;
A simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I went to the cafe at &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: by specifying am and pm times that can be parsed directly from the contents of the &amp;lt;time&amp;gt; element, we reduce the need to violate DRY (can omit an explicit datetime attribute) in more cases, and thus encourage higher fidelity time data over time.&lt;br /&gt;
&lt;br /&gt;
=== am pm example with nested time elements ===&lt;br /&gt;
Example (uses aforementioned composite nested time element proposal as well)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;I went to the cafe&amp;lt;/span&amp;gt; at &lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;time&amp;gt;6pm&amp;lt;/time&amp;gt; on &lt;br /&gt;
     &amp;lt;time&amp;gt;2010-08-05&amp;lt;/time&amp;gt;&lt;br /&gt;
  &amp;lt;/time&amp;gt;.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Advantage: again, this reduces DRY violations, in this case further improving upon the composite nested time elements case.&lt;br /&gt;
&lt;br /&gt;
=== am pm discussion ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* +1 [[Tantek]] - in practice we in the microformats community have found that enabling users to markup am/pm times leads to many more cases where we can avoid violating DRY and thus encourage greater accuracy over time for such content. I think the HTML5 &amp;amp;lt;time&amp;amp;gt; element presents us with the opportunity to more cleanly markup times (than what we&#039;ve been able to do with the aforementioned microformats value-class-pattern), and thus we should do so.&lt;br /&gt;
* 0(query) [[User:Pigsonthewing|Andy Mabbett]] - see above for concerns over date formatting.&lt;br /&gt;
** queries moved to am pm FAQ section with answers. - [[User:Tantek|Tantek]] 16:57, 6 August 2010 (UTC)&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== am pm FAQ ===&lt;br /&gt;
==== noon and midnight ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this cater for &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;, and the [http://en.wikipedia.org/wiki/12-hour_clock#Confusion_at_noon_and_midnight ambiguity] over &amp;quot;12am&amp;quot; and &amp;quot;12pm&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; This proposal does not address the (English) language specific terms of &amp;quot;noon&amp;quot; and &amp;quot;midnight&amp;quot;. Proposal clarified to explicitly treat 12am as 00:00:00, and 12pm as 12:00:00.&lt;br /&gt;
&lt;br /&gt;
==== am pm i18n ====&lt;br /&gt;
&#039;&#039;&#039;Question:&#039;&#039;&#039; How does this internationalise &amp;quot;am&amp;quot; and &amp;quot;pm&amp;quot;, for languages which do not use them? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; For languages that do not use &amp;quot;am&amp;quot; or &amp;quot;pm&amp;quot;, the am pm proposal does not confer any additional advantage.&lt;br /&gt;
&lt;br /&gt;
= Minor editorial fixes =&lt;br /&gt;
&lt;br /&gt;
== Update hCalendar example ==&lt;br /&gt;
&lt;br /&gt;
Summary: please update the hCalendar example with the following fixes which make it consistent with hCalendar 1.0 with resolved issues.&lt;br /&gt;
&lt;br /&gt;
The HTML5 spec currently has this hCalendar example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
  &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;:&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2007-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt; -&lt;br /&gt;
  &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2007-10-20&amp;quot;&amp;gt;19&amp;lt;/time&amp;gt;,&lt;br /&gt;
  at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This appears to have been copy/pasted from a past version of the [http://microformats.org/wiki/hcalendar#Examples hCalendar spec] that was both mid-update (the dates are incorrect/inconsistent), and notes an issue which has since been resolved.&lt;br /&gt;
&lt;br /&gt;
Here is a suggested update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#efe&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot; href=&amp;quot;http://www.web2con.com/&amp;quot;&amp;gt;http://www.web2con.com/&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web 2.0 Conference&amp;lt;/span&amp;gt;: &lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtstart&amp;quot; datetime=&amp;quot;2005-10-05&amp;quot;&amp;gt;October 5&amp;lt;/time&amp;gt;-&lt;br /&gt;
 &amp;lt;time class=&amp;quot;dtend&amp;quot; datetime=&amp;quot;2005-10-07&amp;quot;&amp;gt;7&amp;lt;/time&amp;gt;,&lt;br /&gt;
 at the &amp;lt;span class=&amp;quot;location&amp;quot;&amp;gt;Argent Hotel, San Francisco, CA&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parenthetical paragraph about end date inconsistency has been removed since hCalendar 1.0 has resolved that issue (see [http://microformats.org/wiki/dtend-issue dtend issue] for details).&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous proposals =&lt;br /&gt;
&lt;br /&gt;
==Choose different default date==&lt;br /&gt;
The statement that valueAsDate  IDL attribute should return the value 1970-01-01 plus the appropriate time when the time element contains no date creates a problem that there are likely to be time elements that explicitly contain that date.&lt;br /&gt;
&lt;br /&gt;
A better choice would be a value that is highly unlikely to be encountered, and would be implausible as an actual date in most applications, perhaps 9999-12-31.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;discussion&amp;quot;&amp;gt;&lt;br /&gt;
Opinions / discussion:&lt;br /&gt;
* 0 (comment) [[User:Pigsonthewing|Andy Mabbett]] - 9999-12-31 may well occur in real applications (projected comet sightings, say). Can we return either an invalid date (perhaps 9999-02-31) or an error code?&lt;br /&gt;
* -1 [[User:Tantek|Tantek]] - I don&#039;t see any other default date as being significantly different.&lt;br /&gt;
* ...&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Issues without specific proposals =&lt;br /&gt;
==Specification ambiguities==&lt;br /&gt;
The specification requires that time be expressed as UTC (or another time zone with a specified offset from UTC). However, the representation of leap seconds is not specified. Further, the algorithms to convert between string and number are flawed, because the number is described as &amp;quot;number of milliseconds elapsed from midnight UTC on the morning of 1970-01-01&amp;quot; but the actual number of milliseconds includes all kinds of strange decisecond offsets during the period 1961-01-01 to 1972-01-01. Also, UTC did not exist before about 1960.&lt;br /&gt;
&lt;br /&gt;
Unix timekeeping has a long history of terrible definitions, and Unix notions of time should be totally rejected and expunged.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
* [[input]] - the input element, related proposals expanding upon the new datetime inputs.&lt;br /&gt;
&lt;br /&gt;
= External links =&lt;br /&gt;
&lt;br /&gt;
== Tag ==&lt;br /&gt;
Blog posts, Twitter updates etc. may be tagged HTML5time or #HTML5time &amp;lt;!-- links to follow --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prior discussion ==&lt;br /&gt;
&lt;br /&gt;
* [http://pigsonthewing.org.uk/dates-and-coordinates-in-html5/ Dates and coordinates in HTML5] - blog post by [[User:Pigsonthewing|Andy Mabbett]]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-February/018639.html whatwg mailing list discussion of the above, Feb 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018685.html further whatwg mailing list discussion of the above, Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018759.html Another mailing list thread Mar 2009]&lt;br /&gt;
** [http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018888.html Spec editor&#039;s  response to the above threads and further discussion, late Mar 2009]&lt;br /&gt;
* [http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-November/024184.html 2009-11-26 Use cases for the time element] whatwg email by Jeremy Keith&lt;br /&gt;
* [http://html5doctor.com/the-time-element/ HTML5 Doctor: The Time Element]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.loc.gov/standards/datetime/ Extended Date Time Format efforts] based at the USA&#039;s Library of Congress (Covers unspecific dates; date periods and non-Gregorian dates)&lt;br /&gt;
** [http://www.loc.gov/standards/datetime/proposals.html EDTF proposals] (use-cases)&lt;br /&gt;
* [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11 vCard Format Specification draft-ietf-vcarddav-vcardrev-11] (latest draft as at July 2010)&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-4.3 Section 4.3, date &amp;amp; time]&lt;br /&gt;
** [http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-11#section-5.7 Section 5.7, CALSCALE] (specifies Gregorian or other (e.g. Julian) calendar)&lt;br /&gt;
*** [http://www.ietf.org/mail-archive/web/vcarddav/current/msg01307.html VCARDDAV discussion of CALSCALE]&lt;br /&gt;
* [http://www.tei-c.org/Guidelines/P4/html/ref-DATE.html TEI dates], widely used by archives and libraries to mark up texts, including non-Gregorian ISO8601 &amp;amp; uncertain/ approximate dates&lt;br /&gt;
** [http://www.tei-c.org/Guidelines/P4/html/CO.html#CONADA TEI dates+times]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601 (Wikipedia article)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar (Wikipedia article)]&lt;/div&gt;</summary>
		<author><name>Pigsonthewing</name></author>
	</entry>
</feed>