diff --git a/src/lib.rs b/src/lib.rs index 3a32188..8cb3ce7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -432,7 +432,7 @@ impl Log for SimpleLogger { "(https://time-rs.github.io/internal-api/time/index.html#feature-flags)" )).format(&TIMESTAMP_FORMAT_OFFSET).unwrap()), Timestamps::Utc => format!("{} ", OffsetDateTime::now_utc().format(&TIMESTAMP_FORMAT_UTC).unwrap()), - 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()), } #[cfg(not(feature = "timestamps"))]