tzdb — Time Zone Database

GitHub Workflow Status Crates.io License

Static time zone information for tz-rs.

This crate provides all time zones found in the Time Zone Database, currently in the version 2021e (released 2021-10-21).

See the documentation for a full list the the contained time zones: https://docs.rs/tzdb/latest/tzdb/time_zone/index.html

Usage examples

```rs use tz::{DateTime, TimeZone}; use tzdb::TimeZoneExt;

let accessbyidentifier = DateTime::now(tzdb::timezone::EuropeKiev); let accessbyname = DateTime::now(TimeZone::fromdb("Europe/Berlin").unwrap()); let namesarecaseless = DateTime::now(TimeZone::from_db("ArCtIc/LongYeArByEn").unwrap()); ```

Git Cloning

To clone / fork the Git repo you need to have git-lfs installed.