summaryrefslogtreecommitdiff
path: root/src/pages/sitemap/categories.xml.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/sitemap/categories.xml.js')
-rw-r--r--src/pages/sitemap/categories.xml.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/sitemap/categories.xml.js b/src/pages/sitemap/categories.xml.js
index 61fe42d1..18c8a8f3 100644
--- a/src/pages/sitemap/categories.xml.js
+++ b/src/pages/sitemap/categories.xml.js
@@ -32,7 +32,7 @@ function addUrlToSitemap(sitemap, name, id) {
// const date = '2025-10-30';
const url = sitemap.ele('url');
url.ele('loc', createSlug(baseUrl, name, id));
- url.ele('lastmod', date);
+ url.ele('lastmod', date.toISOString().slice(0, 10));
url.ele('changefreq', 'weekly');
url.ele('priority', '0.6');
}