mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-05-09 12:17:29 +08:00
fix sitemap lastmod format
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user