All Projects → cdown → Tzupdate

cdown / Tzupdate

Licence: mit
Set the system timezone based on IP geolocation

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Tzupdate

Portable Snippets
Collection of miscellaneous portable C snippets.
Stars: ✭ 397 (+205.38%)
Mutual labels:  public-domain, time, clock
Klock
Multiplatform Date and time library for Kotlin
Stars: ✭ 569 (+337.69%)
Mutual labels:  time, clock
Ticktock
A timezone data management library for the JVM and Android targeting java.time APIs in Java 8+
Stars: ✭ 122 (-6.15%)
Mutual labels:  time, timezone
Vue Clock2
vue clock component 😀
Stars: ✭ 67 (-48.46%)
Mutual labels:  time, clock
Googleapi
C# .NET Core Google Api (Maps, Places, Roads, Search, Translate). Supports all endpoints and requests / responses.
Stars: ✭ 346 (+166.15%)
Mutual labels:  timezone, geolocation
Date Fns Tz
Complementary library for date-fns v2 adding IANA time zone support
Stars: ✭ 385 (+196.15%)
Mutual labels:  time, timezone
Truetime Android
Android NTP time library. Get the true current time impervious to device clock time changes
Stars: ✭ 1,134 (+772.31%)
Mutual labels:  time, clock
clock
High-resolution clock functions: monotonic, realtime, cputime.
Stars: ✭ 52 (-60%)
Mutual labels:  time, clock
Timezone Support
Lightweight time zone support for your applications or other date libraries.
Stars: ✭ 90 (-30.77%)
Mutual labels:  time, timezone
Js Joda
🕑 Immutable date and time library for javascript
Stars: ✭ 1,298 (+898.46%)
Mutual labels:  time, timezone
Luatz
Time, Date and Timezone library for lua
Stars: ✭ 92 (-29.23%)
Mutual labels:  time, timezone
Timestamp
⏰ A better macOS menu bar clock.
Stars: ✭ 296 (+127.69%)
Mutual labels:  time, clock
Md Date Time Picker
An implementation of Material Design Picker components in vanilla CSS, JS, and HTML
Stars: ✭ 272 (+109.23%)
Mutual labels:  time, clock
NTP
NTP library for Arduino framework
Stars: ✭ 20 (-84.62%)
Mutual labels:  time, timezone
React Timer Hook
React timer hook
Stars: ✭ 118 (-9.23%)
Mutual labels:  time, clock
Posix tz db
Generates POSIX timezones strings
Stars: ✭ 57 (-56.15%)
Mutual labels:  time, timezone
simple-location
Adds Basic Location Support to Wordpress
Stars: ✭ 26 (-80%)
Mutual labels:  timezone, geolocation
nepali-datetime
Python's core datetime inspired nepali datetime (BS date & NPT) package 🇳🇵
Stars: ✭ 36 (-72.31%)
Mutual labels:  time, timezone
Time
A simplified approach to working with dates, times, and time zones.
Stars: ✭ 83 (-36.15%)
Mutual labels:  time, timezone
Use Timer
A timer hook for React
Stars: ✭ 113 (-13.08%)
Mutual labels:  time, clock

|travis| |lgtm| |coveralls| |libraries|

.. |travis| image:: https://img.shields.io/travis/cdown/tzupdate/develop.svg?label=tests :target: https://travis-ci.org/cdown/tzupdate :alt: Tests

.. |lgtm| image:: https://img.shields.io/lgtm/grade/python/github/cdown/tzupdate.svg?label=code%20quality :target: https://lgtm.com/projects/g/cdown/tzupdate/overview/ :alt: LGTM

.. |coveralls| image:: https://img.shields.io/coveralls/cdown/tzupdate/develop.svg?label=test%20coverage :target: https://coveralls.io/github/cdown/tzupdate?branch=develop :alt: Coverage

.. |libraries| image:: https://img.shields.io/librariesio/github/cdown/tzupdate.svg?label=dependencies :target: https://libraries.io/github/cdown/tzupdate :alt: Dependencies

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

Usage

::

$ sudo 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 also see what tzupdate would do without actually doing it by passing -p, and specify an alternative IP address by using -a. This is not an exhaustive list of options, see tzupdate --help for that.

Installation

To install the latest stable version from PyPi (recommended):

.. code::

$ pip install -U tzupdate

To install the latest development code from GitHub:

.. code::

$ pip install -U git+https://github.com/cdown/[email protected]

Testing

.. code::

$ tox
Ran 18 tests in 1.109s
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].