diff options
| author | fhemberger <mail@frederic-hemberger.de> | 2011-09-04 12:06:20 +0200 |
|---|---|---|
| committer | fhemberger <mail@frederic-hemberger.de> | 2011-09-04 12:06:20 +0200 |
| commit | b6f1451b774c735d0bc34bf565cbc63de3db9679 (patch) | |
| tree | c3004cfb4ae9e923f42be80065bfff397948c437 /.themes/classic/source/_includes/post | |
| parent | 104bff64ee5cc8486da90bf762b3eab6491e014a (diff) | |
| download | my_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.html | 4 |
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 %} |
