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 4e71b6d commit b9de75e
Show file tree
Hide file tree
Showing 8 changed files with 4,621 additions and 6,498 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

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

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 change: 0 additions & 1 deletion tzdb-2022b.tar.lz.sha

This file was deleted.

1 change: 1 addition & 0 deletions tzdb-2022c.tar.lz.sha
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e51a9044da116a52906bc0fc22a3dde0e1a6d4e486f9e610a63aa6634ccc1ebd0bc2d47d2faa84bde2b78cc890fe3fb08f6c1ac4e1e0c147d45de5c21d26b26a tmp/tzdb-2022c.tar.lz
2 changes: 1 addition & 1 deletion tzdb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tzdb"
version = "0.2.8"
version = "0.2.9"
edition = "2021"
authors = ["René Kijewski <[email protected]>"]
repository = "https://github.com/Kijewski/tzdb"
Expand Down
11,105 changes: 4,614 additions & 6,491 deletions tzdb/src/generated.rs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tzdb/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,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

0 comments on commit b9de75e

Please sign in to comment.