Sedate

Latest version: v1.2.0

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.0.0

~~~~~~~~~~~~~~~~~~~

- Fixes ``align_to_week`` and ``align_to_month`` not behaving consistently with ``align_to_day`` during DST transitions
[Daverball]

- Fixes DST related issues in ``get_date_range``, ``dtrange`` and ``weekrange``

With this change these functions now accept additional arguments
that determine what happens with ambiguous, non-existent times
during daylight savings transitions.
[Daverball]

- Adds type annotations
[Daverball]

- Removes support for Python 2.7 and 3.6 and below
[Daverball]

- Removes explicit support for Python 3.3 (might or might not work).
[href]

0.3.0

~~~~~~~~~~~~~~~~~~~

- Adds a weeknumber function.
[href]

0.2.0

~~~~~~~~~~~~~~~~~~~

- Adds the ability to iterate over custom deltas between a start and an end.
[href]

- Adds the ability to iterate over weeks between a start and an end.
[href]

0.1.0

~~~~~~~~~~~~~~~~~~~

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

0.0.5

~~~~~~~~~~~~~~~~~~~

- Adds a time parsing function which accepts anything from 00:00 to 24:00.
[href]

0.0.4

~~~~~~~~~~~~~~~~~~~

- 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]

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.