lib/sitemap.xml in jekyll-sitemap-0.6.0 vs lib/sitemap.xml in jekyll-sitemap-0.6.1
- old
+ new
@@ -31,10 +31,10 @@
{% endunless %}{% endfor %}
{% endunless %}{% endfor %}
{% for file in site.html_files %}
<url>
<loc>{{ site_url }}{{ file.path }}</loc>
- <lastmod>{{ file.modified_time | date:"%Y-%m-%dT%H:%M:%SZ" }}</lastmod>
+ <lastmod>{{ file.modified_time | date_to_xmlschema }}</lastmod>
<priority>0.6</priority>
</url>
{% endfor %}
</urlset>