Permalink
Browse files

[e] (0) further work on the <time> proposal - fix hCalendar example

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14696

git-svn-id: http://svn.whatwg.org/webapps@6831 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Nov 19, 2011
1 parent 7af5430 commit dfcdca751be5afff22ab2305c2ec4a92c0b0ef7c
Showing with 6 additions and 18 deletions.
  1. +2 −6 complete.html
  2. +2 −6 index
  3. +2 −6 source
<pre>&lt;div class="vevent"&gt;
&lt;a class="url" href="http://www.web2con.com/"&gt;http://www.web2con.com/&lt;/a&gt;
&lt;span class="summary"&gt;Web 2.0 Conference&lt;/span&gt;:
&lt;time class="dtstart" datetime="2007-10-05"&gt;October 5&lt;/time&gt; -
&lt;time class="dtend" datetime="2007-10-20"&gt;19&lt;/time&gt;,
&lt;time class="dtstart" datetime="2005-10-05"&gt;October 5&lt;/time&gt; -
&lt;time class="dtend" datetime="2005-10-07"&gt;7&lt;/time&gt;,
at the &lt;span class="location"&gt;Argent Hotel, San Francisco, CA&lt;/span&gt;
&lt;/div&gt;</pre>

<p>(The end date is encoded as one day after the last date of the
event because in the iCalendar format, end dates are
<em>exclusive</em>, not inclusive.)</p>

</div>

<div class=example>
8 index
<pre>&lt;div class="vevent"&gt;
&lt;a class="url" href="http://www.web2con.com/"&gt;http://www.web2con.com/&lt;/a&gt;
&lt;span class="summary"&gt;Web 2.0 Conference&lt;/span&gt;:
&lt;time class="dtstart" datetime="2007-10-05"&gt;October 5&lt;/time&gt; -
&lt;time class="dtend" datetime="2007-10-20"&gt;19&lt;/time&gt;,
&lt;time class="dtstart" datetime="2005-10-05"&gt;October 5&lt;/time&gt; -
&lt;time class="dtend" datetime="2005-10-07"&gt;7&lt;/time&gt;,
at the &lt;span class="location"&gt;Argent Hotel, San Francisco, CA&lt;/span&gt;
&lt;/div&gt;</pre>

<p>(The end date is encoded as one day after the last date of the
event because in the iCalendar format, end dates are
<em>exclusive</em>, not inclusive.)</p>

</div>

<div class=example>
8 source
<pre>&lt;div class="vevent">
&lt;a class="url" href="http://www.web2con.com/">http://www.web2con.com/&lt;/a>
&lt;span class="summary">Web 2.0 Conference&lt;/span>:
&lt;time class="dtstart" datetime="2007-10-05">October 5&lt;/time> -
&lt;time class="dtend" datetime="2007-10-20">19&lt;/time>,
&lt;time class="dtstart" datetime="2005-10-05">October 5&lt;/time> -
&lt;time class="dtend" datetime="2005-10-07">7&lt;/time>,
at the &lt;span class="location">Argent Hotel, San Francisco, CA&lt;/span>
&lt;/div></pre>

<p>(The end date is encoded as one day after the last date of the
event because in the iCalendar format, end dates are
<em>exclusive</em>, not inclusive.)</p>

</div>

<div class="example">

0 comments on commit dfcdca7

Please sign in to comment.