| Crates.io | tzupdate |
| lib.rs | tzupdate |
| version | 3.1.0 |
| created_at | 2023-05-12 03:18:01.357234+00 |
| updated_at | 2023-09-28 19:38:58.647593+00 |
| description | Set the system timezone based on IP geolocation. |
| homepage | |
| repository | https://github.com/cdown/tzupdate |
| max_upload_size | |
| id | 862648 |
| size | 31,070 |
tzupdate is a fully automated utility to set the system time using geolocation.
cargo install tzupdate
# tzupdate
Set system timezone to Europe/London.
Internally, this geolocates you, gets the timezone for that geolocation, and then updates the system's local time zone.
You can see what tzupdate would do without actually doing it by passing -p,
and specify an alternative IP address by using -i. This is not an exhaustive
list of options, see tzupdate --help for that.