Change datetimes in the <time> elements to ISO8601 format
diff --git a/templates/archives.html b/templates/archives.html
index 872fe49..b2bba9b 100644
--- a/templates/archives.html
+++ b/templates/archives.html
@@ -18,7 +18,7 @@
<h3>{{ month_articles[0].date.strftime('%B') }}</h3>
<ul>
{% for article in month_articles %}
- <li><time datetime="{{ article.date }}">{{ article.date.strftime('%b %d, %Y') }}</time> - <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></li>
+ <li><time datetime="{{ article.date.isoformat() }}">{{ article.date.strftime('%b %d, %Y') }}</time> - <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></li>
{% endfor %}
</ul>
{% endfor %}
diff --git a/templates/article.html b/templates/article.html
index 6658224..553eb15 100644
--- a/templates/article.html
+++ b/templates/article.html
@@ -24,12 +24,12 @@
{{ article.content }}
</div>
<div class="article_meta">
- <p>Posted on <time datetime="{{ article.date }}">{{ article.locale_date }}</time>
+ <p>Posted on <time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time>
{% if article.author %}
by {% if AUTHORS_URL %} <a href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>{% else %}{{ article.author}}{% endif %}
{% endif %}
{% if article.modified %}
- <p>Last updated <time datetime="{{ article.modified }}">{{ article.locale_modified }}</time></p>
+ <p>Last updated <time datetime="{{ article.modified.isoformat() }}">{{ article.locale_modified }}</time></p>
{% endif %}
</p>
<p>