NOTE: the latest version is 11.1.2
Convert a TimeZone.Data.Pack to a Time.Zone.
TimeZone.Data.Pack
Time.Zone
import Time import TimeZone exposing (unpack) import TimeZone.Data zone : Time.Zone zone = unpack TimeZone.Data.america__new_york
Try to get the local time zone. If the task succeeds, then you get the zone name along with the Time.Zone.
Represents an error that may occur when trying to get the local zone.
Convert a
TimeZone.Data.Packto aTime.Zone.