| ... | ... |
@@ -1,6 +1,6 @@ |
| 1 | 1 |
{% capture category %}{{ post.categories | size }}{% endcapture %}
|
| 2 | 2 |
<h1><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h1>
|
| 3 |
-<time datetime="{{ post.date | datetime }}" pubdate>{{ post.date | date: "<span class='month'>%b</span> <span class='day'>%d</span> <span class='year'>%Y</span>"}}</time>
|
|
| 3 |
+<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>{{ post.date | date: "<span class='month'>%b</span> <span class='day'>%d</span> <span class='year'>%Y</span>"}}</time>
|
|
| 4 | 4 |
{% if category != '0' %}
|
| 5 | 5 |
<footer> |
| 6 | 6 |
<span class="categories">posted in {{ post.categories | category_links }}</span>
|
| ... | ... |
@@ -3,8 +3,8 @@ |
| 3 | 3 |
{% capture updated %}{{ page.updated }}{{ post.updated }}{% endcapture %}
|
| 4 | 4 |
{% capture was_updated %}{{ updated | size }}{% endcapture %}
|
| 5 | 5 |
{% if has_date != '0' %}
|
| 6 |
-<time datetime="{{ date | datetime }}" pubdate {% if updated %} updated {% endif %}>{{ date | ordinalize }}</time>
|
|
| 6 |
+<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate {% if updated %} updated {% endif %}>{{ date | ordinalize }}</time>
|
|
| 7 | 7 |
{% endif %}
|
| 8 | 8 |
{% if was_updated != '0' %}
|
| 9 |
-<time class="updated" datetime="{{ updated | datetime }}">{{ updated | ordinalize }}</time>
|
|
| 9 |
+<time class="updated" datetime="{{ updated | datetime | date_to_xmlschema }}">{{ updated | ordinalize }}</time>
|
|
| 10 | 10 |
{% endif %}
|