Skip to main content

A drop in replacement for Python's datetime module which cares deeply about timezones.

Project description

A version of the python-datetime module which deeply cares about timezone (instead of ignoring the problem). The module automatically detects your current timezone using a variety of different methods.

The module also includes extra functionality;

  • Full integration with pytz (just give it the string of the timezone!)

  • Proper support for going to/from Unix timestamps (which are in UTC!).

  • Smart Parsing which attempts to accept all formats.

This module depends on:

  • pytz - For providing the Timezone database.

  • dateutil - For providing parsing of many common formats.

For development:

  • PyLint - Needed for checking for link.

  • Genshi - Needed for building windows mapping file.

Now with Windows support!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-datetime-tz-0.5.tar.gz (37.9 kB view hashes)

Uploaded Source

Built Distributions

python_datetime_tz-0.5-py3-none-any.whl (19.6 kB view hashes)

Uploaded Python 3

python_datetime_tz-0.5-py2-none-any.whl (19.6 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page