Remove Z from timestamp format - unnecessary for consistent server timezone

This commit is contained in:
Jeena 2026-01-16 11:36:22 +00:00
parent 051157a84c
commit 6a61b562f5

View file

@ -7,7 +7,7 @@ struct GeminiTimeFormat;
impl FormatTime for GeminiTimeFormat {
fn format_time(&self, w: &mut tracing_subscriber::fmt::format::Writer<'_>) -> std::fmt::Result {
let now = time::OffsetDateTime::now_utc();
write!(w, "{}-{:02}-{:02}T{:02}:{:02}:{:02}Z",
write!(w, "{}-{:02}-{:02}T{:02}:{:02}:{:02}",
now.year(), now.month() as u8, now.day(),
now.hour(), now.minute(), now.second())
}