Skip to main content

local_zone_name

Function local_zone_name 

pub fn local_zone_name() -> Option<String>
Expand description

The IANA name of the local time zone, when the system names one: $TZ (without a leading :), else the zone /etc/localtime links to below zoneinfo/. None where the system names none, and on the web; local times still follow the system’s offsets there. Callers check the name against their zone database.