Skip to content

Commit

Permalink
Bump version to 0.23.0 and tzdata to 2022f
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuprog committed Nov 9, 2022
1 parent 10bfe01 commit 56f7e4e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
@@ -1,4 +1,15 @@
# Changelog

## 0.23.x

* Fix warnings
* Change option names:
* `:reject_time_zone_periods_before_year` to<br>
`:reject_periods_before_year`
* `:build_time_zone_periods_with_ongoing_dst_changes_until_year` to<br>
`:build_dst_periods_until_year`

* Add a mix task to download the IANA time zone data for a given version
## 0.22.x

* Add a mix task to download the IANA time zone data for a given version
Expand Down
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -8,7 +8,7 @@ module can, by default, only operate on datetimes in the UTC time zone. Alternat
third-party libraries, such as `tz`, to bring in time zone support and deal with datetimes in other time zones than UTC.

The `tz` library relies on the [time zone database](https://data.iana.org/time-zones/tzdb/) maintained by
[IANA](https://www.iana.org). As of version 0.22.0, `tz` uses version **tzdata2022c** of the IANA time zone database.
[IANA](https://www.iana.org). As of version 0.23.0, `tz` uses version **tzdata2022f** of the IANA time zone database.

## Features

Expand Down Expand Up @@ -116,9 +116,9 @@ Lastly, add the http client `mint` and ssl certificate store `castore` into your
```elixir
defp deps do
[
{:castore, "~> 0.1.17"},
{:castore, "~> 0.1"},
{:mint, "~> 1.4"},
{:tz, "~> 0.22.0"}
{:tz, "~> 0.23.0"}
]
end
```
Expand Down Expand Up @@ -214,7 +214,7 @@ config :tz, :data_dir, Path.join(Path.dirname(__DIR__), "priv")
## Get the IANA time zone database version

```elixir
Tz.iana_version() == "2022c"
Tz.iana_version() == "2022f"
```

## Time zone utility functions
Expand Down Expand Up @@ -243,7 +243,7 @@ Add `tz` for Elixir as a dependency in your `mix.exs` file:
```elixir
def deps do
[
{:tz, "~> 0.22.0"}
{:tz, "~> 0.23.0"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
@@ -1,7 +1,7 @@
defmodule Tz.MixProject do
use Mix.Project

@version "0.22.0"
@version "0.23.0"

def project do
[
Expand Down

0 comments on commit 56f7e4e

Please sign in to comment.