Closed
Description
Hey there,
after upgrading to v0.2.23 I am unable to retrieve the correct local offset from my system.
println!("{}", UtcOffset::current_local_offset());
returns "+0", while
println!("{}", UtcOffset::try_current_local_offset());
returns a IndeterminateOffsetError
.
After downgrading to 0.2.22, both functions correctly return "+1" (CET).
date '+%z'
also returns "+0100", as expected.
Rust version: rustc 1.47.0 (18bf6b4f0 2020-10-07)