mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-21 14:30:59 +08:00
Merge pull request #286 from nagisa77/codex/fix-sitemap-invalid-date-errors
Fix sitemap lastmod format
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user