Registry / utility / iana-time-zone

iana-time-zone

JSON →
library0.1.65rscratesunverified

Get the IANA time zone for the current system.

# Cargo.toml [dependencies] iana-time-zone = "0.1.65"
INSTALL
IMPORT
SIG · IANA-TIME-ZONE
I
iana-time-zone
utilityrustv0.1.65
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

get_timezone
use iana_time_zone::get_timezone;

Retrieves the system's IANA time zone.

use iana_time_zone::get_timezone; fn main() { let tz = get_timezone().unwrap(); println!("Current time zone: {}", tz); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.65latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
iana-time-zone — cargo add iana-time-zone · libregistry