Skip to content

Commit

Permalink
Fix oversight in chrono impl
Browse files Browse the repository at this point in the history
  • Loading branch information
Ezrashaw committed Dec 24, 2022
1 parent 8c09d18 commit 28a455d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fmt/chrono/extern_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ impl fmt::Display for Timestamp {
panic!("Sorry, currently with the new human timestamp formats, we only support second precision.");
}

self.time.format("%v %p").fmt(f)
self.time.format("%v %r").fmt(f)
}
TimestampFormat::Human24Hour => {
if self.precision != TimestampPrecision::Seconds {
Expand Down

0 comments on commit 28a455d

Please sign in to comment.