fix sitemap lastmod format

This commit is contained in:
Tim
2025-07-30 20:51:59 +08:00
parent c52ac92549
commit c16709a36d

View File

@@ -56,7 +56,7 @@ public class SitemapController {
.append(p.getId()) .append(p.getId())
.append("</loc>\n") .append("</loc>\n")
.append(" <lastmod>") .append(" <lastmod>")
.append(p.getCreatedAt()) .append(p.getCreatedAt().toLocalDate())
.append("</lastmod>\n") .append("</lastmod>\n")
.append(" </url>\n"); .append(" </url>\n");
} }