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() FeedBuilder::default()
.title(title) .title(title)
.id(uri) .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(
entries entries
.into_iter() .into_iter()