Fix Atom feed datetime format (#766)

This commit is contained in:
KITAITI Makoto 2020-05-05 06:46:59 +09:00 committed by GitHub
parent 847d6f7fac
commit 180e34b07c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,7 +134,7 @@ pub fn build_atom_feed(
FeedBuilder::default()
.title(title)
.id(uri)
.updated(updated.format("%Y-%m-%d %H:%M:%SZ").to_string())
.updated(updated.format("%Y-%m-%dT%H:%M:%SZ").to_string())
.entries(
entries
.into_iter()