aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_includes/post
diff options
context:
space:
mode:
authorfhemberger <mail@frederic-hemberger.de>2011-09-04 12:06:20 +0200
committerfhemberger <mail@frederic-hemberger.de>2011-09-04 12:06:20 +0200
commitb6f1451b774c735d0bc34bf565cbc63de3db9679 (patch)
treec3004cfb4ae9e923f42be80065bfff397948c437 /.themes/classic/source/_includes/post
parent104bff64ee5cc8486da90bf762b3eab6491e014a (diff)
downloadmy_new_personal_website-b6f1451b774c735d0bc34bf565cbc63de3db9679.tar.xz
my_new_personal_website-b6f1451b774c735d0bc34bf565cbc63de3db9679.zip
datetime must be valid date format, see: http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#concept-datetime
Diffstat (limited to '.themes/classic/source/_includes/post')
-rw-r--r--.themes/classic/source/_includes/post/date.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/.themes/classic/source/_includes/post/date.html b/.themes/classic/source/_includes/post/date.html
index dce92472..7e328786 100644
--- a/.themes/classic/source/_includes/post/date.html
+++ b/.themes/classic/source/_includes/post/date.html
@@ -3,8 +3,8 @@
{% capture updated %}{{ page.updated }}{{ post.updated }}{% endcapture %}
{% capture was_updated %}{{ updated | size }}{% endcapture %}
{% if has_date != '0' %}
-<time datetime="{{ date | datetime }}" pubdate {% if updated %} updated {% endif %}>{{ date | ordinalize }}</time>
+<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate {% if updated %} updated {% endif %}>{{ date | ordinalize }}</time>
{% endif %}
{% if was_updated != '0' %}
-<time class="updated" datetime="{{ updated | datetime }}">{{ updated | ordinalize }}</time>
+<time class="updated" datetime="{{ updated | datetime | date_to_xmlschema }}">{{ updated | ordinalize }}</time>
{% endif %}