iana-time-zone 0.1.43

get the IANA time zone for the current system
Documentation
1
2
3
4
5
6
7
8
9
pub fn get_timezone_inner() -> std::result::Result<String, crate::GetTimezoneError> {
    Err(crate::GetTimezoneError::OsError)
}

#[cfg(not(feature = "fallback"))]
compile_error!(
    "iana-time-zone is currently implemented for Linux, Window, MacOS, FreeBSD, NetBSD, \
    OpenBSD, Dragonfly, WebAssembly (browser), iOS, Illumos and Android.",
);