Workalendar

Latest version: v17.0.0

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

Scan your dependencies

Page 11 of 15

4.0.0

- Solved the incompatibility between `pandas` latest version and Python 3.4. Upgraded travis distro to Xenial/16.04 LTS (307).
- Added instructions about the usage of the `iso_register` decorator in the pull-request template (309).

New Calendars

- Added New Zealand, by johnguant (306).
- Added Paraguay calendar, following the work of reichert (268).
- Added China calendar, by iamsk (304).
- Added Israel, by armona, tsehori (281).

3.2.1

Bugfixes

- Added DEEPAVALI days for 2019 and 2020, thx pvalenti (282).
- Fixed Germany Reformation Day miscalculation. Some German states include Reformation Day since the "beginning" ; in 2017, all states included Reformation Day as a holiday (500th anniversary of the Reformation) ; starting of 2018, 4 states added Reformation Day (295).

3.2.0

New Calendars

- Added China, by iamsk.

3.1.1

Bugfix

- Fixed ISO 3166-1 code for the `Slovenia` calendar (291, thx john-sandall).

3.1.0

Major changes

- Added support for Python 3.7 (283).
- Fixed the `SouthAfrica` holidays calendar, taking into account the specs of holidays that vary over the periods. As a consequence, it cleaned up erroneous holidays that were duplicated in some years (285). Thx to surfer190 for his review & suggestions.
- Bugfix for South Africa: disabled the possibility to compute holidays prior to the year 1910.

Minor changes

- Renamed Madagascar test class name into `MadagascarTest` (286).
- Separated the coverage jobs from the pure tests. Their report output was disturbing in development mode, you had to scroll your way up to find eventual failing tests (289).

3.0.0

Major changes

Large work on global registry: refs 13, 96, 257 & 284.

- Added Tests for Europe registry.
- Revamped and cleaned up Europe countries.
- Added the United States of America + States, American countries & sub-regions, African countries, Asian countries, Oceanian countries.
- The global registry usage is documented.

Breaking changes

- Changed Canada namespace to `workalendar.america.canada`.
- You don't have to declare a `name` properties for Calendar classes. It will be deducted from the docstring.
- Changed the `registry.items()` mandatory argument name to `region_codes` for more readability.

Page 11 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.