diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-11-13 16:28:01 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-11-13 16:28:01 +0700 |
| commit | fba96afd46d37e9cac4f480dac7c6a8fba36ae9a (patch) | |
| tree | e987f5d7f7cf2eb42783cd1f67d95d5c9b7db0cc /src/pages/sitemap/categories.xml.js | |
| parent | d793056d1645c221d02fb821e34ab2c435c387d0 (diff) | |
<Miqdad> fix xml date
Diffstat (limited to 'src/pages/sitemap/categories.xml.js')
| -rw-r--r-- | src/pages/sitemap/categories.xml.js | 2 |
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'); } |
