Fix Atom feed datetime format (#766)

pull/768/head
KITAITI Makoto 4 years ago committed by GitHub
parent 847d6f7fac
commit 180e34b07c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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()

Loading…
Cancel
Save