Tzdata
Tzdata. The timezone database in Elixir.
Extracted from the Kalends library.
As of version 0.1.3 the tz release 2015c (from 2015-04-11 08:55:55 -0700) is used. The tz release version can be verified with the following function:
iex> Tzdata.tzdata_version
"2015c"Getting started
Use through the Kalends library
or directly: it is available on hex as tzdata.
defp deps do
[ {:tzdata, "~> 0.1.5"}, ]
endDocumentation
Documentation can be found at http://hexdocs.pm/tzdata/
When new timezone data is released
IANA releases new versions of the timezone database frequently. When that happens, hopefully this library will be updated within 24 hours with the new data and a new version of the tzdata Elixir package will be released.
As an alternative to getting a new version of tzdata, users of this library
can simply run the dl_latest_data.sh script and then recompile tzdata. Running
that script will update the data in the source_data directory. The files in the
source_data directory contains all the information about the timezones
and is used by the tzdata library at compile time.
License
The tzdata Elixir library is released under the MIT license. See the LICENSE file.
The tz database files (found in the source_data directory) is public domain.