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.
[![Build Status](https://travis-ci.org/mithro/python-datetime-tz.png?branch=master)](https://travis-ci.org/mithro/python-datetime-tz) [![Coverage Status](https://coveralls.io/repos/mithro/python-datetime-tz/badge.png)](https://coveralls.io/r/mithro/python-datetime-tz) [![PyPi Version](https://pypip.in/v/python-datetime-tz/badge.png)](https://crate.io/packages/python-coveralls/) [![PyPi Downloads](https://pypip.in/d/python-datetime-tz/badge.png)](https://crate.io/packages/python-coveralls/) [![githalytics.com](https://cruel-carlota.pagodabox.com/d317b586eafe043326e5050de8cc0214 “githalytics.com”)](http://githalytics.com/mithro/python-datetime-tz)
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
Built Distributions
Hashes for python_datetime_tz-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c5c5e380d331ffa24a553123ff672b4823aad682964feff371ce040d9a5a82a |
|
MD5 | 0edf9d72c25c01059842a91b05a355b6 |
|
BLAKE2b-256 | 6b2caf6baeada493f307c5be3242357d8d4d53b20881954f81ba96acdf791cfa |
Hashes for python_datetime_tz-0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d8c5ce172e29760308a8e68d8505d565bf0894ff6d14b036782dc975eb984c0 |
|
MD5 | 1b806f573f7f2fe0f47f2d348c5bea68 |
|
BLAKE2b-256 | c17671067c7a4cc799557503e3d44bfa4da99f81725a769e85e401436cd9a4ca |