A language-neutral conformance corpus for org-mode to HTML renderers.

conformance html org-mode testing

cases/timestamps.html

main
org-conformance/cases/timestamps.html history · blame · raw

10 lines · 933 bytes

 1<h2 id="single">Single</h2>
 2<p>An active date <time class="timestamp" datetime="2024-01-15">2024-01-15</time> and an inactive one <time class="timestamp inactive" datetime="2024-01-15">2024-01-15</time>.</p>
 3<p>With a time: <time class="timestamp" datetime="2024-01-15T10:30">2024-01-15 10:30</time>.</p>
 4<h2 id="ranges">Ranges</h2>
 5<p>A same-day time range <time class="timestamp" datetime="2024-01-15T10:00">2024-01-15 10:00</time>&#8211;<time class="timestamp" datetime="2024-01-15T11:45">11:45</time>.</p>
 6<p>A multi-day range <time class="timestamp" datetime="2024-01-15">2024-01-15</time>&#8211;<time class="timestamp" datetime="2024-01-20">2024-01-20</time>.</p>
 7<h2 id="ignored-decorations">Ignored decorations</h2>
 8<p>A repeater is dropped: <time class="timestamp" datetime="2024-01-15">2024-01-15</time>.</p>
 9<h2 id="not-timestamps">Not timestamps</h2>
10<p>Comparisons like 3 &lt; 4 and [not a stamp] stay literal text.</p>