Timex.Timezone.Database
This module is not really intended for use outside of Timex, but it provides a way to map Olson timezone names to Windows timezone names, and vice versa.
Summary↑
olson_to_win(arg1) | Lookup the Windows time zone name given an Olson time zone name |
to_olson(arg1) | Lookup the Olson time zone given it's standard name |
Functions
Lookup the Windows time zone name given an Olson time zone name.
Example
iex> Timex.Timezone.Database.olson_to_win("Pacific/Noumea")
"Central Pacific Standard Time"
Lookup the Olson time zone given it's standard name
Example
iex> Timex.Timezone.Database.to_olson("Azores Standard Time")
"Atlantic/Azores"