Proyek
Lihat di GitHub tzupdate |
cdown/tzupdate
Tentang
Mengatur zona waktu sistem berdasarkan geolokasi IP.
Alat pengembanganYang dapat Anda lakukan
- Small, easy to understand codebase
- Queries multiple geolocation services in parallel and returns the first with a successful result
- Protects against directory traversal and invalid results when linking /etc/localtime
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Aslitzupdate | 
tzupdate is a fully automated utility to set the system time using geolocation.
Features
- Small, easy to understand codebase
- Queries multiple geolocation services in parallel and returns the first with a successful result
- Protects against directory traversal and invalid results when linking /etc/localtime
Installation
cargo install tzupdate
Usage
# 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.
Jelajahi proyek terkait
Memuat…