Make consistent with minifyHtml
Some checks are pending
Tests / tests (push) Waiting to run

This commit is contained in:
Dustin Brett
2025-03-21 10:47:06 -07:00
parent 1c27444f26
commit 838c1c1dde

View File

@@ -32,7 +32,7 @@ const buildFileSitemap = (path, excludePaths, callback) => {
xmlUrls.push(
callback(
`${author.url}/?url=${encodedUrlEntryPath}`,
new Date(stats.mtime - date.getTimezoneOffset() * 60000)
new Date(stats.mtime - new Date().getTimezoneOffset() * 60000)
.toISOString()
.substring(0, 10),
`${author.url}/${encodedUrlEntryPath}`