Is it possible to always use UTC time in the sitemap?
I created the following example:
This example includes layouts/_default/sitemap.xml
, which replaces “-07:00” in the embedded layout with “+00:00”. But the generated sitemap contains
<url>
<loc>https://example.org/page/</loc>
<lastmod>2024-05-14T21:02:53+00:00</lastmod>
</url>
, while the real commit time of page.md
is 2024-05-14T21:02:53-07:00
. GMT-07:00
is the timezone in the relevant git commit.
I understand that robot readers can probably perform timezone conversion by themselves, but I would prefer some privacy on the geolcation where the page was modified on some sites.