Crates.io | tzdb_data |
lib.rs | tzdb_data |
version | 0.2.0 |
source | src |
created_at | 2023-12-30 11:42:20.354331 |
updated_at | 2024-09-15 01:41:38.145615 |
description | Static, #![no_std] time zone information for tz-rs |
homepage | |
repository | https://github.com/Kijewski/tzdb |
max_upload_size | |
id | 1084134 |
size | 2,041,313 |
Static, #![no_std]
time zone information for tz-rs
// access by identifier
let time_zone = tzdb_data::time_zone::europe::KYIV;
// access by name
let time_zone = tzdb_data::find_tz(b"Europe/Berlin").unwrap();
// names are case insensitive
let time_zone = tzdb_data::find_tz(b"ArCtIc/LoNgYeArByEn").unwrap();