Tz

Time zone support for Elixir.

The tz library relies on the time zone database maintained by IANA. As of version 0.1.0, tz uses version tzdata2019c of the IANA time zone database.

Installation

Add tz for Elixir as a dependency in your mix.exs file:

def deps do
  [
    {:tz, "~> 0.1.0"}
  ]
end

Usage

For usage, refer to the DateTime docs.

The time zone database module name is Tz.TimeZoneDatabase.

HexDocs

HexDocs documentation can be found at https://hexdocs.pm/tz.