W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

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

From: Tantek Çelik <tantek@cs.stanford.edu>
Date: Wed, 11 Aug 2010 17:41:54 -0700
Message-ID: <AANLkTi=rWBO_3=ScsPZCXX3rQPi1W=Yzq+-q1N2zfqSs@mail.gmail.com>
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
Received on Wednesday, 11 August 2010 17:41:54 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:59 UTC