Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mitsuhiko/localzone
Figures out the local timezone as IANA / Olson identifier
https://github.com/mitsuhiko/localzone
Last synced: 2 months ago
JSON representation
Figures out the local timezone as IANA / Olson identifier
- Host: GitHub
- URL: https://github.com/mitsuhiko/localzone
- Owner: mitsuhiko
- License: apache-2.0
- Created: 2021-12-07T21:16:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T19:45:37.000Z (9 months ago)
- Last Synced: 2024-10-13T01:34:12.112Z (3 months ago)
- Language: Rust
- Size: 20.5 KB
- Stars: 16
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# localzone
[![Build Status](https://github.com/mitsuhiko/localzone/workflows/Tests/badge.svg?branch=main)](https://github.com/mitsuhiko/localzone/actions?query=workflow%3ATests)
[![Crates.io](https://img.shields.io/crates/d/localzone.svg)](https://crates.io/crates/localzone)
[![License](https://img.shields.io/github/license/mitsuhiko/localzone)](https://github.com/mitsuhiko/localzone/blob/main/LICENSE)
[![Documentation](https://docs.rs/localzone/badge.svg)](https://docs.rs/localzone)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
- [Documentation](https://docs.rs/localzone/)
- [Issue Tracker](https://github.com/mitsuhiko/localzone/issues)
- License: [Apache-2.0](https://github.com/mitsuhiko/localzone/blob/main/LICENSE)