aboutsummaryrefslogtreecommitdiffstats
path: root/extra/sitemap/generate_sitemap_indices.py
diff options
context:
space:
mode:
Diffstat (limited to 'extra/sitemap/generate_sitemap_indices.py')
-rwxr-xr-xextra/sitemap/generate_sitemap_indices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/sitemap/generate_sitemap_indices.py b/extra/sitemap/generate_sitemap_indices.py
index 9766ac1f..0a5624a1 100755
--- a/extra/sitemap/generate_sitemap_indices.py
+++ b/extra/sitemap/generate_sitemap_indices.py
@@ -6,7 +6,7 @@ import datetime
def index_entity(entity_type, output):
- now = datetime.datetime.now().isoformat()
+ now = datetime.date.today().isoformat()
print("""<?xml version="1.0" encoding="UTF-8"?>""", file=output)
print("""<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">""", file=output)