We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c374d15 + a37f011 commit 030a838Copy full SHA for 030a838
src/lib.rs
@@ -432,7 +432,7 @@ impl Log for SimpleLogger {
432
"(https://time-rs.github.io/internal-api/time/index.html#feature-flags)"
433
)).format(&TIMESTAMP_FORMAT_OFFSET).unwrap()),
434
Timestamps::Utc => format!("{} ", OffsetDateTime::now_utc().format(&TIMESTAMP_FORMAT_UTC).unwrap()),
435
- Timestamps::UtcOffset(offset) => format!("{} ", OffsetDateTime::now_utc().to_offset(offset).format(&TIMESTAMP_FORMAT_UTC).unwrap()),
+ Timestamps::UtcOffset(offset) => format!("{} ", OffsetDateTime::now_utc().to_offset(offset).format(&TIMESTAMP_FORMAT_OFFSET).unwrap()),
436
}
437
438
#[cfg(not(feature = "timestamps"))]
0 commit comments