Skip to content

Commit

Permalink
Merge pull request canonical#13111 from anthonydillon/fix-engage-site…
Browse files Browse the repository at this point in the history
…map-date

WD-5961 - Fix the engage sitemap date format
  • Loading branch information
anthonydillon authored Aug 28, 2023
2 parents 4a84277 + 8702839 commit 67a4f91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webapp/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,9 @@ def ep_sitemap():
links.append(
{
"url": f'https://ubuntu.com{page["path"]}',
"last_updated": page["updated"].strftime("%-d %B %Y"),
"last_updated": page["updated"].strftime(
"%Y-%m-%dT%H:%M:%SZ"
),
}
)

Expand Down

0 comments on commit 67a4f91

Please sign in to comment.