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.
[![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/)
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.5.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb785c47ab55ea29f069ac1cee6ef04d010657573ffc5e7c34a4c8139566183f |
|
MD5 | 01bbcae20b1760665ff8ab3f22132da7 |
|
BLAKE2b-256 | 92c8b650f454437040fbbb2caffaf08c0422cfc5a01405d23d9b20cfda35a0b6 |
Hashes for python_datetime_tz-0.5.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95b6aa9dcc8fb0c5d2f1358b637f8acd899e0587f3580cf604e1f5f5425da96e |
|
MD5 | a26c7747ae262d76f796285edfc6cdf2 |
|
BLAKE2b-256 | f330a3f42319d049d1908432706f85ce783385c2bc1f6c39b91739c8b5d6ea95 |