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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a6a7fec83250dc9b9efd666244425b113bc2e7160e1e179c00ad79e2f81b919 |
|
MD5 | fd9acde4399f7ebb9c93b7853610ee9b |
|
BLAKE2b-256 | 993763a91f09d20cc73450d735e180e51fbb81c77eee5b232de5d2a3bef201b6 |
Hashes for python_datetime_tz-0.5.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 280b539d96c6a9b6d154f35dfc9b4a109ab00b3ff997cf6a2206f6e8bbeeddd7 |
|
MD5 | ab6b95ff868d9aa4b8bca6213c636e4e |
|
BLAKE2b-256 | 8b79001e0395fec29f13ad23ea23b70cfce0043e04ec856915856ca906f79458 |