Skip to content

Commit

Permalink
fix date format in sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Nov 24, 2023
1 parent 492e3c6 commit a10470e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gozer.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func (s *Site) createSitemap() error {
for _, p := range s.pages {
urls = append(urls, Url{
Loc: p.Permalink,
LastMod: p.DateModified.Format(time.RFC1123Z),
LastMod: p.DateModified.Format(time.RFC3339),
})
}

Expand Down

0 comments on commit a10470e

Please sign in to comment.