Skip to content

Commit

Permalink
Update to Time Zone Database 2022c
Browse files Browse the repository at this point in the history
  • Loading branch information
Kijewski committed Aug 16, 2022
1 parent 5998f7d commit 1a8b3b8
Show file tree
Hide file tree
Showing 11 changed files with 1,769 additions and 3,301 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tzdb"
version = "0.3.5"
version = "0.3.6"
edition = "2018"
authors = ["René Kijewski <[email protected]>"]
repository = "https://github.com/Kijewski/tzdb"
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.DELETE_ON_ERROR:

TZDB_VERSION := tzdb-2022b
TZDB_VERSION := tzdb-2022c

src/generated/mod.rs: tmp/${TZDB_VERSION}/usr/share/zoneinfo/
cargo r --package make-tzdb --bin make-tzdb -- $(@D) $<
cargo +nightly fmt -- $(@D)/mod.rs $(@D)/raw_tzdata.rs

tmp/${TZDB_VERSION}/usr/share/zoneinfo/: tmp/${TZDB_VERSION}/
cd tmp/${TZDB_VERSION}/ && make PACKRATDATA=backzone TOPDIR="." install
cd tmp/${TZDB_VERSION}/ && make PACKRATDATA=backzone PACKRATLIST=zone.tab TOPDIR="." install

tmp/${TZDB_VERSION}/: tmp/${TZDB_VERSION}.tar.lz
cd tmp/ && tar xf $(<F)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Static time zone information for [tz-rs](https://crates.io/crates/tz-rs).

This crate provides all time zones found in the [Time Zone Database](https://www.iana.org/time-zones),
currently in the version 2022b (released 2022-08-10).
currently in the version 2022c (released 2022-08-16).

See the documentation for a full list the the contained time zones:
<https://docs.rs/tzdb/latest/tzdb/time_zone/index.html>
Expand Down
1,881 changes: 379 additions & 1,502 deletions src/generated/mod.rs

Large diffs are not rendered by default.

1,277 changes: 638 additions & 639 deletions src/generated/raw_time_zones_by_name.inc.rs

Large diffs are not rendered by default.

618 changes: 106 additions & 512 deletions src/generated/raw_tzdata.rs

Large diffs are not rendered by default.

Loading

0 comments on commit 1a8b3b8

Please sign in to comment.