diff --git a/sitemap.xml b/sitemap.xml
index bed1a19..e59d8be 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -10,14 +10,14 @@ layout: nil
{% for post in site.posts %}
{{ site.url }}{{ post.url }}
- {% if post.modified %}{{ post.modified | to_xmlschema }}{% else %}{{ post.date | to_xmlschema }}{% endif %}
+ {% if post.modified %}{{ post.modified | date_to_xmlschema }}{% else %}{{ post.date | date_to_xmlschema }}{% endif %}
{% endfor %}
{% for page in site.pages %}
{{ site.url }}{{ page.url }}
- {{ site.time | to_xmlschema }}
+ {{ site.time | date_to_xmlschema }}
{% endfor %}
\ No newline at end of file