time_zone_info v0.3.0 TimeZoneInfo.DataConfig View Source

This module applies the configuration to the transition tables.

Link to this section Summary

Functions

Returns the data updated by the configuration.

Link to this section Types

Link to this type

config()

View Source
config() :: [{:time_zones, :all | [String.t()]}]

Link to this section Functions

Link to this function

update(data, config)

View Source
update(TimeZoneInfo.data(), config()) ::
  {:ok, TimeZoneInfo.data()} | {:error, {:time_zones_not_found, [String.t()]}}

Returns the data updated by the configuration.