Skip to content

Commit

Permalink
Change XML datetimes to 'Z' notation from '+00:00' (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
KendallWeihe authored Sep 5, 2024
1 parent fb8232e commit 63ef7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/web5/src/rfc3339.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ where
S: Serializer,
{
let datetime: chrono::DateTime<Utc> = (*time).into();
let s = datetime.to_rfc3339();
let s = datetime.to_rfc3339_opts(chrono::SecondsFormat::Secs, true);
serializer.serialize_str(&s)
}

Expand Down

0 comments on commit 63ef7e6

Please sign in to comment.