Skip to main content

decode_timezone_name

Function decode_timezone_name 

Source
pub fn decode_timezone_name(
    name: &str,
    cx: &DateTimeInput<'_>,
) -> Result<ZoneName, TypeError>
Expand description

DecodeTimezoneName: the abbreviations first, as DecodeTimezoneAbbrev finds them, and then the zones of the data. The abbreviations use the first 63 bytes of the name in lower case.

ยงErrors

22023 when the name is not a zone, and F0000 when the zone of an abbreviation is not in the data.