{"id":17150286,"url":"https://github.com/maxbrunet/automatic-timezoned","last_synced_at":"2026-04-01T18:54:54.640Z","repository":{"id":48462900,"uuid":"516578822","full_name":"maxbrunet/automatic-timezoned","owner":"maxbrunet","description":"A Linux daemon to automatically update the system timezone based on location ","archived":false,"fork":false,"pushed_at":"2026-03-30T22:13:28.000Z","size":1329,"stargazers_count":37,"open_issues_count":4,"forks_count":5,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-31T00:19:09.040Z","etag":null,"topics":["dbus","geoclue","systemd","timezone","zoneinfo"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxbrunet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-07-22T02:06:04.000Z","updated_at":"2026-03-30T22:13:32.000Z","dependencies_parsed_at":"2026-02-24T03:00:56.555Z","dependency_job_id":null,"html_url":"https://github.com/maxbrunet/automatic-timezoned","commit_stats":{"total_commits":277,"total_committers":3,"mean_commits":92.33333333333333,"dds":"0.36823104693140796","last_synced_commit":"cf3032f28aa8d1999080c7d38be981fdd24faa17"},"previous_names":[],"tags_count":279,"template":false,"template_full_name":null,"purl":"pkg:github/maxbrunet/automatic-timezoned","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbrunet%2Fautomatic-timezoned","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbrunet%2Fautomatic-timezoned/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbrunet%2Fautomatic-timezoned/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbrunet%2Fautomatic-timezoned/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxbrunet","download_url":"https://codeload.github.com/maxbrunet/automatic-timezoned/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxbrunet%2Fautomatic-timezoned/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dbus","geoclue","systemd","timezone","zoneinfo"],"created_at":"2024-10-14T21:35:18.415Z","updated_at":"2026-04-01T18:54:54.618Z","avatar_url":"https://github.com/maxbrunet.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Automatic Timezone Daemon\n\n[![Crates.io](https://img.shields.io/crates/v/automatic-timezoned)](https://crates.io/crates/automatic-timezoned)\n[![Build Status](https://github.com/maxbrunet/automatic-timezoned/actions/workflows/build.yml/badge.svg)](https://github.com/maxbrunet/automatic-timezoned/actions/workflows/build.yml)\n[![dependency status](https://deps.rs/repo/github/maxbrunet/automatic-timezoned/status.svg)](https://deps.rs/repo/github/maxbrunet/automatic-timezoned)\n\nA Linux daemon to automatically update the system timezone based on location.\n\n## How It Works\n\n1. The current location is retrieved from GeoClue\n2. The timezone of the current location is determined using [tzf-rs](https://crates.io/crates/tzf-rs)\n3. The timezone is updated via `systemd-timedated`\n4. Then, the daemon waits for the location updated signal from GeoClue, and repeats from step 1 when it happens\n\n_Note: The timezone choice may not be accurate if very close to a timezone border due to `tzf-rs` using simplified shape data._\n\n## Requirements\n\n* [GeoClue](https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home)\n* [systemd](https://systemd.io/)\n* The user must be allowed to use the [`org.freedesktop.timedate1.set-timezone` action](https://www.freedesktop.org/software/systemd/man/org.freedesktop.timedate1.html#Security) (`root` or [Polkit](https://www.freedesktop.org/software/polkit/docs/latest/) rule)\n* The user must have a running GeoClue agent or the GeoClue configuration must allow the absence of agent with an empty agent `whitelist`\n  (see also [Stebalien/localtime - Configuring GeoClue](https://github.com/Stebalien/localtime#configuring-geoclue), [geoclue/geoclue#74](https://gitlab.freedesktop.org/geoclue/geoclue/-/issues/74))\n\nPlease see the [examples/](examples/) directory for sample configurations.\n\n## Configuration\n\n```\n$ automatic-timezoned --help\nAutomatically update system timezone based on location\n\nUsage: automatic-timezoned [OPTIONS]\n\nOptions:\n  -l, --log-level \u003cLOG_LEVEL\u003e  Log level filter. See \u003chttps://docs.rs/env_logger\u003e for syntax [env: AUTOTZD_LOG_LEVEL=] [default: info]\n  -h, --help                   Print help\n  -V, --version                Print version\n\n```\n\n## Packages\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/automatic-timezoned.svg?header=\u0026columns=3)](https://repology.org/project/automatic-timezoned/versions)\n\n## Development\n\n### Build\n\n```shell\ncargo build --release\n```\n\n### Test\n\n```shell\ncargo test\n```\n\n## Alternatives\n\nThis service depends on the `tzf-rs` package which bundles timezones and their geographical borders,\nhere are some alternatives which have made different trade-offs for performance and accuracy:\n\n* [github.com/Stebalien/localtime](https://github.com/Stebalien/localtime): Depends on the unmaintained [github.com/bradfitz/latlong](https://pkg.go.dev/github.com/bradfitz/latlong) Go library (although if you prefer Go, [github.com/ringsaturn/tzf](https://pkg.go.dev/github.com/ringsaturn/tzf) could be used).\n* [Gnome Automatic Time Zone](https://help.gnome.org/users/gnome-help/stable/clock-timezone.html.en) ([Source Code](https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/tree/master/plugins/datetime)): Depends on the `tzdata` package and [Nominatim Web API](https://nominatim.org/) for distances.\n\n## License\n\nGNU General Public License v3.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxbrunet%2Fautomatic-timezoned","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxbrunet%2Fautomatic-timezoned","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxbrunet%2Fautomatic-timezoned/lists"}