Fix Atom feed datetime format (#766)
This commit is contained in:
parent
847d6f7fac
commit
180e34b07c
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user