skip to navigation
skip to content

tzupdate 1.2.0

Set the system timezone based on IP geolocation

tzupdate is a fully automated utility to set the system time using geolocation.


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
Set system timezone to Europe/London.


To install the latest stable version from PyPi:

$ pip install -U tzupdate

To install the latest development version directly from GitHub:

$ pip install -U git+


$ pip install tox
$ tox
Ran 10 tests in 4.088s
File Type Py Version Uploaded on Size
tzupdate-1.2.0.tar.gz (md5) Source 2017-03-17 4KB