iana-time-zone 0.1.35

get the IANA time zone for the current system
Documentation
1
2
3
4
5
pub(crate) fn get_timezone_inner() -> Result<String, crate::GetTimezoneError> {
    Ok(core_foundation::timezone::CFTimeZone::system()
        .name()
        .to_string())
}