lastmod
of SitemapItem object is not String type
#10355
Labels
good first issue
Good for newcomers
help wanted
Issues looking for someone to run with them!
improve documentation
Enhance existing documentation (e.g. add an example, improve description)
📚 Subject area/topic
Integrations
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/ja/guides/integrations-guide/sitemap/#serialize
📋 Description of content that is out-of-date or incorrect
The documentation states that
lastmod
is:However, upon inspecting the implementation code,
lastmod
is being handled as a Date type.However since this Date type is based on Universal Time (UTC), it's not possible to directly specify the
lastmod
in a specific timezone (e.g., Japan Standard Time (JST)) using a string representation. It is my view that the implementation could be changed to consider the possibility of allowing the String type to be specified.🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response
The text was updated successfully, but these errors were encountered: