Skip to content

Commit

Permalink
change datetime format in sitemap generation
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstauffer committed Feb 11, 2019
1 parent 67619ae commit 4a92699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/rmfdb/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def generate_sitemap(app):
')', '%29'
)
),
'lastmod': item.updated_at.isoformat()
'lastmod': item.updated_at.strftime('%Y-%m-%d')
}
)
sitemap = Environment().from_string(template).render(pages=pages)
Expand Down

0 comments on commit 4a92699

Please sign in to comment.