Merge pull request #286 from nagisa77/codex/fix-sitemap-invalid-date-errors

Fix sitemap lastmod format
This commit is contained in:
Tim
2025-07-30 20:52:21 +08:00
committed by GitHub

View File

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