1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
|
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Hello World</title>
</head>
<body>
<div class="h-event">
<h1 class="p-name">Microformats Hootenanny</h1>
Arrive <span class="dt-start">2014-01-01T12:00:00+00:00</span>, stay until
<time class="dt-end" datetime="3014-01-01T18:00:00+00:00">six pee em GMT on the first day of the first month, year three thousand, four and ten.</time>
That’s right, the microformats <del class="dt-updated" datetime="2011-08-26T00:01:21+00:00">party</del><ins class="dt-updated" datetime="2011-08-26T00:01:21+00:00">hootenanny</ins> lasts for <abbr class="dt-duration" title="P1000Y">ONE THOUSAND YEARS</abbr>.
</div>
<div class="h-entry">
<span class="dt-published">
<img class="value" alt="3014-01-01" src="onethousandyears.png"/> at precisely <data class="value" value="01:21Z">1:21 am</data>
</span>
</div>
<div class="h-entry">
<span class="dt-updated">
<abbr class="value" title="2014-03-11 09:55">3/11 9:55</abbr>
</span>
</div>
<div class="h-entry">
<!-- a la Tantek -->
<span class="dt-published published dt-updated updated">
<time class="value">3:28pm</time> on <time class="value">2014-01-30</time>
</span>
</div>
<div class="h-entry">
<span class="dt-published">
<b class="value">9999-01-14T11:52+08:00</b>
</span>
</div>
<div class="h-entry">
<!-- wiki event with UTC offset -->
<span class="dt-published">
<span class="value" title="June 1, 2014">2014-06-01</span>
<span class="value" title="12:30">12:30<span style="display: none;">-06:00</span></span>
</span>
</div>
<div class="h-event">
<h1 class="p-name">Implied Date wo Timezone</h1>
This test case and the next are courtesy of event templates on
http://indiewebcamp.com/User:Gregorlove.com/sandbox
<p> When:
<span class="dt-start">
<span class="value" title="May 21, 2014">2014-05-21</span>
<span class="value" title="18:30">18:30</span>
–
<span class="dt-end">19:30</span>
</span> (local time)
</p>
</div>
<div class="h-event">
<h1 class="p-name">Implied Date w/ Timezone</h1>
<p> When:
<span class="dt-start">
<span class="value" title="June 1, 2014">2014-06-01</span>
<span class="value" title="12:30">12:30<span style="display: none;">-06:00</span></span>
–
<span class="dt-end">19:30<span style="display: none;">-06:00</span></span>
</span> (-06:00 <abbr>UTC</abbr>)
</p>
</div>
<div class="h-event">
<h1 class="p-name">Implied Date w/ separate Timezone</h1>
<p> When:
<span class="dt-start">
<span class="value" title="June 1, 2014">2014-06-01</span>
<span class="value" title="12:30">12:30</span>
(UTC<span class="value">-06:00</span>)
–
<span class="dt-end">19:30</span>
</p>
</div>
<div class="h-event">
<h1 class="p-name">Multiple date and time values</h1>
<p> When:
<span class="dt-start">
<span class="value" title="June 1, 2014">2014-06-01</span>
<span class="value" title="June 1, 3014">3014-06-01</span>
<span class="value" title="12:30">12:30</span>
(UTC<span class="value">-06:00</span>)
<span class="value" title="23:00">23:00</span>
(UTC<span class="value">+01:00</span>)
–
<span class="dt-end">19:30</span>
</p>
</div>
<div class="h-event">
<h1 class="p-name">AM PM conversion</h1>
<p> When:
<span class="dt-start">
<span class="value" title="June 1, 2014">2014-06-01</span>
<span class="value">12:30am</span>
(UTC<span class="value">-06:00</span>)
–
<span class="dt-end">12:15p.m.</span>
</p>
<p> When:
<span class="dt-start">
<span class="value" title="June 1, 2014">2014-06-01</span>
<span class="value">12:30AM</span>
(UTC<span class="value">-06:00</span>)
–
<span class="dt-end">12:15P.M.</span>
</p>
</div>
<div class="h-event">
<h1 class="p-name">Ordinal date</h1>
<p> When:
<span class="dt-start">
<span class="value">2016-062</span>
<span class="value">12:30AM</span>
(UTC<span class="value">-06:00</span>)
</p>
</div>
<div class="h-entry">
<!-- wiki event with UTC offset without leading zero -->
<span class="dt-start">
<span class="value" title="June 1, 2014">2014-06-01</span>
<span class="value" title="12:30">12:30<span style="display: none;">-6:00</span></span>
</span>
</div>
<div class="h-entry">
<!-- wiki event with positive UTC offset without leading zero-->
<span class="dt-start">
<span class="value" title="June 1, 2014">2014-06-01</span>
<span class="value" title="12:30">12:30<span style="display: none;">+6:00</span></span>
</span>
</div>
<div class="h-entry">
<!-- wiki event with Zulu time-->
<span class="dt-start">
<span class="value" title="June 1, 2014">2014-06-01</span>
<span class="value" title="12:30">12:30<span style="display: none;">Z</span></span>
</span>
</div>
<div class="h-entry">
<!-- with UTC offset without leading zero in extra value part -->
<span class="dt-start">
<span class="value" title="June 1, 2014">2014-06-01</span>
<span class="value" title="12:30">12:30</span><span class="value">-6:00</span></span>
</span>
</div>
</body>
</html>
|