Commit 6fa27ea
Josh Habdas
Use datetime for time element
Currently metadata items are outputting a `time` element with a `datetime` attribute which is ISO 8601 compliant, but does not include information about time of day and timezone offset. This updates the output so it outputs all available information.
Before:
```html
<time class="icon-calendar pr20" datetime="2016-12-03" itemprop="datePublished">2016-12-03</time>
```
After
```html
<time class="icon-calendar pr20" datetime="2016-12-03T08:00:00+08:00" itemprop="datePublished"> 2016-12-03</time>
```
References:
http://devdocs.io/html/element/time for general info
https://www.w3.org/TR/html51/infrastructure.html#dates-and-times for information about
http://jekyll.tips/jekyll-cheat-sheet/ for liquid filter info1 parent 57f4a4a commit 6fa27ea
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
0 commit comments