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
0.0.5 (2016-04-25)
Adds a time parsing function which accepts anything from 00:00 to 24:00. [href]
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.5.tar.gz
.
File metadata
- Download URL: sedate-0.0.5.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5adfef06f21a4396920f808aa09aa5213f6ac511b7bea7e3fdd7fd7332788c2 |
|
MD5 | 86c57e454811bf0d2ac12996fc9e3bc2 |
|
BLAKE2b-256 | ca415144cb066c2c51ada2f47991a1c7d63a9af249080871c2802eb96282080b |
File details
Details for the file sedate-0.0.5-py2-none-any.whl
.
File metadata
- Download URL: sedate-0.0.5-py2-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9506562e89cf64240a5f956a6a135d3b4556aa9f663e6083e747a096fa86be51 |
|
MD5 | 295801a3469ea7fa91abb62272724f7b |
|
BLAKE2b-256 | 1f2500bafafca33958715acf25c645cfe233c23813af1bb35fbe01f39a387622 |