Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Apr 9, 2024
1 parent cabf6f8 commit 8fb1426
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion seo/sitemap.go
Expand Up @@ -4,6 +4,7 @@ import (
"context"
"encoding/xml"
"fmt"
"time"
)

// A standard xml sitemap
Expand Down Expand Up @@ -47,7 +48,7 @@ func (m *MapGenerator) AddToSitemap(ctx context.Context, f Fetcher, sitemap *Sit
Description: e.Description,
Loc: e.URL,
ChangeFreq: "daily",
LastMod: e.UpdatedAt.Format("2006-01-02"),
LastMod: e.UpdatedAt.Format(time.RFC3339),
Priority: fmt.Sprint(priority),
})

Expand Down

0 comments on commit 8fb1426

Please sign in to comment.