Set the system timezone based on IP geolocation
Project description
tzupdate is a fully automated utility to set the system time using geolocation.
Usage
By default, tzupdate will geolocate you, get the timezone for that geolocation, and then attempt to link that timezone to /etc/localtime. You can pass -p to print the detected timezone without linking. You can also pass -a to pass an IP address to use, instead of geolocating you.
$ sudo tzupdate Detected timezone is Europe/Dublin. Linked /etc/localtime to /usr/share/zoneinfo/Europe/Dublin.
Installation
Installation requires setuptools.
Stable version
$ pip install tzupdate
Development version
$ git clone git://github.com/cdown/tzupdate.git $ cd tzupdate $ python setup.py install
Testing
$ python setup.py test
License
tzupdate is licensed under an ISC license. Full information is in the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tzupdate-0.4.0.tar.gz
(4.2 kB
view hashes)