localzone

Crates.iolocalzone
lib.rslocalzone
version0.3.1
sourcesrc
created_at2021-12-07 22:02:42.734692
updated_at2024-04-12 15:38:17.292832
descriptionfigures out the local timezone as IANA / Olson identifier
homepage
repositoryhttps://github.com/mitsuhiko/localzone
max_upload_size
id494120
size85,835
Armin Ronacher (mitsuhiko)

documentation

README

localzone

Build Status Crates.io License Documentation

Utility crate to figure out the IANA (Olson) timezone of the current machine. The IANA timezones have been largely established as the standard for identifying timezones but retrieving the current timezone in that format is a surprisingly complex problem. Additionally Windows machines use an incompatible timezone system and this crate helps automaticaly mapping these to the IANA timezones. For this it uses the CLDR maintained timezone mapping.

License and Links

Commit count: 9

cargo fmt