[whatwg] Minor editorial fix: Section 4.6.9 The time element - first example needs update

Tantek Çelik tantek at cs.stanford.edu
Wed Aug 11 17:41:54 PDT 2010


The first markup example in section 4.6.9 needs updating:

http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-time-element


Current Example and text:
=========================== snip ===========================
<div class="vevent">
 <a class="url" href="http://www.web2con.com/">http://www.web2con.com/</a>
  <span class="summary">Web 2.0 Conference</span>:
  <time class="dtstart" datetime="2007-10-05">October 5</time> -
  <time class="dtend" datetime="2007-10-20">19</time>,
  at the <span class="location">Argent Hotel, San Francisco, CA</span>
 </div>

(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.)
=========================== snip ===========================


Suggested update:
=========================== snip ===========================
<div class="vevent">
 <a class="url" href="http://www.web2con.com/">http://www.web2con.com/</a>
 <span class="summary">Web 2.0 Conference</span>:
 <time class="dtstart" datetime="2005-10-05">October 5</time>-
 <time class="dtend" datetime="2005-10-07">7</time>,
 at the <span class="location">Argent Hotel, San Francisco, CA</span>
</div>
=========================== snip ===========================


Note: the parenthetical paragraph in the previous version about end
date inconsistency has been removed since hCalendar 1.0 has resolved
that issue (see dtend issue for details).


More details (if needed) on the wiki:

http://wiki.whatwg.org/wiki/Time_element#Update_hCalendar_example


Thanks,

Tantek

-- 
http://tantek.com/ - I made an HTML5 tutorial! http://tantek.com/html5



More information about the whatwg mailing list