Date/time helper functions used by various Seantis packages.
Project description
There are projects like Arrow or Delorean which provide ways to work with timezones without having to think about it too much.
Seantis doesn’t use them because we want to reason about these things, to ensure they are correct, and partly because of self-loathing.
Adding another layer makes this reasoning harder.
Run the Tests
Install tox and run it:
pip install tox tox
Limit the tests to a specific python version:
tox -e py27
Conventions
Sedate follows PEP8 as close as possible. To test for it run:
tox -e pep8
Sedate uses Semantic Versioning
Build Status
Coverage
Latests PyPI Release
License
sedate is released under GPLv2
Changelog
Unreleased
0.0.4 (2015-11-18)
Fixes an issue with daylight savings time and align_date_to_day.
With this change, align_date_to_day ensures that the resulting date is in the timezone the date was aligned to, not in the timezone it originally was in. [href]
0.0.3 (2015-08-05)
Adds a function to turn date-ish objects into datetimes. [href]
0.0.2 (2015-08-04)
Fix align_date_to_day failing with certain timezones. [href]
0.0.1 (2015-06-30)
Initial Release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sedate-0.0.4.tar.gz
.
File metadata
- Download URL: sedate-0.0.4.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 029bc25bc0ffee751cff4beb44ee0cdb3a555779dfc63f51b7f44413d98b563f |
|
MD5 | 1139218fd3f14c9ad0347173872267ad |
|
BLAKE2b-256 | 3a0e06b917e975b25d0ef4f967bb89d79e954b7f3a9ae87b95de2f78044fe2c6 |
File details
Details for the file sedate-0.0.4-py2-none-any.whl
.
File metadata
- Download URL: sedate-0.0.4-py2-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45fb3803b3a9dc0966de7de9597d5ad45a160263c0d2c5f6b73d3914231860a5 |
|
MD5 | 6a560aa4a31acd57a4acab418e644d8f |
|
BLAKE2b-256 | 72129d526047cef68cec57d9083ffba6a385134f0227455884747bf0a0f2480e |