Skip to main content

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

Build Status

Coverage

Project Coverage

Latests PyPI Release

Latest PyPI Release

License

sedate is released under GPLv2

Changelog

0.1.0 (2016-05-12)

  • Adds methods to align dates to months and weeks. [href]

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sedate-0.1.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

sedate-0.1.0-py2-none-any.whl (9.6 kB view details)

Uploaded Python 2

File details

Details for the file sedate-0.1.0.tar.gz.

File metadata

  • Download URL: sedate-0.1.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sedate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ddad0c282622de8146ab791f04a2fc4988b6870816178918704973483c5cfa24
MD5 f228ac619be1cee2a3f21bf5605826a4
BLAKE2b-256 1c04b8d282bacb5ac678d6eb2e68d4b22eab485aa9eceab3f0fc22f5d85785e6

See more details on using hashes here.

File details

Details for the file sedate-0.1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for sedate-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 b2461217cc56af4b68f8040e7e722dd6b2dc77fe1d4db9763a5bd0c609944c6e
MD5 6d4224b1936d61bae9e451fdbf87e51c
BLAKE2b-256 566fb9bddf2be5cf2c2191207d8ddab8a379e3d65897881ba8e300b119c6d932

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page