Icemac.recurrence

Latest version: v1.7

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

Scan your dependencies

Page 2 of 3

1.4.1

==================

- Fix a corner case in the computation of monthly recurrences: If the
beginning of the interval for which recurrences should be computed was
outside DST but the recurrence date was inside DST - it was incorrectly
returned with a time zone object which did not have DST switched on.

1.4

================

- No longer exclude tests from coverage report.

1.3.1

==================

- Fix computation of biweekly recurrences: Previously the first recurrence with
a matching weekday in the interval was used as the first result for the
interval. This is only correct in half of the cases. Now the computation of
the first recurrence in the interval takes into account that it has to be an
even number of weeks after the recurrence start date and it handles DST
differences correctly.

1.3

================

- Add Manifest and clean up coverage configuration.

1.2

================

- Fix handling for dates with a timezone which has a daylight saving time
(DST): The local time of the recurrence does not change when switching DST
though the UTC representation of the time will now change.

1.1

================

- Shorten the import path of ``get_recurrences()`` from
``icemac.recurrence.recurrence`` to just ``icemac.recurrence``.

- Refactor tests to use ``py.test`` fixtures.

- Fix an off by one month error in the periods `nth weekday every other month`
and `nth weekday from end of other month`.

- Bring the test coverage to 100 % even in branch coverage.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.