Calendra

Latest version: v7.9.0

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

Scan your dependencies

Page 2 of 10

7.5.0

======

Incorporate changes from workalendar v16.3.0 (2022-02-22)

Calendars

- New calendar: Added Georgia (country) calendar by atj01 (687).
- New calendar: Added Kazakhstan calendar by atj01 (688).
- New calendar: Added USA Federal Reserve System calendar by ludsoft (695)

Bugfixes and other changes

- Removed duplicate Proclamation Day for Latvia, by Daglina (686).
- Documentation: Fix the ``keep_datetime`` usage example in the "basic" doc (690).
- Added conditional holidays on 26th December and 2nd January in Neuchatel (Switzerland) (697).
- Added Federal Thanksgiving Monday and two conditional holidays on 26th December and 2nd January in Neuchatel (Switzerland) (697).

Incorporate changes from workalendar v16.2.0 (2021-12-10)

- Update China's public holidays for 2022, thx to iamsk (693).

Incorporate changes from workalendar v16.1.0 (2021-10-01)

- Fixed United Kingdom's 2022 holidays ; Spring Bank Holiday has been moved to the 3rd of June and Queen's Platinum Jubilee added to 2nd of June.
- New calendar: Added Guernsey calendar by ludsoft (681)

7.4.0

======

Incorporate changes from workalendar v16.0.0 (2021-09-16)

Calendars

- New calendar: Added Philippines calendar by micodls (396)

Internal

- Remove `skyfield` dependency, added `[astronomy]` as extra dependency (660).
- Replace `pyCalverter` with `convertdate` (536).
- Remove unused `JalaliMixin`
- Replace `pkg_resources` with `importlib_metadata` to fetch the version number in `__init__.py` (657)
- Added new badges (pypi, conda, license) and installation instructions (pip, conda) to readme file sugatoray (673).
- Added the "Workalendar maintainers" in the LICENSE file.
- Changed the maintainer email.

7.3.0

======

Incorporate changes from workalendar v15.4.0 (2021-07-12)

- New calendar: Added Nigeria calendar by taiyeoguns (656)
- Fix: Chilean calendar floating dates, add Indigenous Peoples Day using solar term, thx ajcobo.

Incorporate changes from workalendar v15.3.1 (2021-07-02)

Bugfixes

- Updated Japan calendar because of the Olympics, thx lxlgarnett. (662)
- Fixed Japan "Sports Day" label depending on the year.

Documentation

- The Workalendar project has been moved from Peopledoc's organization to its own (651, 653, thx to ewjoachim).

Incorporate changes from workalendar v15.3.0 (2021-05-07)

- Fix Barbados calendar to add 2 non computable public holiday and fix boxing day computation, thx to ludsoft (647).

Incorporate changes from workalendar v15.2.0 (2021-04-23)

- Fixed Cuiaba City calendar (Brazil), adding Easter Sunday, Corpus Christi and Good Friday, thx leogregianin (642).
- Fix Catalonian calendar: add missing St John the Baptist public holiday, thx lozlow (643).

Incorporate changes from workalendar v15.1.0 (2021-03-12)

- Bugfix: Bulgaria holidays are now computed using the Orthodox calendar, include shifting rules for holidays that fall on a week-end (596).
- Bugfix: `get_working_days_delta` method to integrate the `extra_holidays` and `extra_working_days` args (631).

Incorporate changes from workalendar v15.0.2 (2021-03-05)

- Bugfix: USA calendar would take the `shift_exceptions` into account, even if the exceptions are set in the next or previous year (610).
- Requirements: Unpin `pyupgrade` library (634).

Incorporate changes from workalendar v15.0.1 (2021-02-26)

- Hotfix: Taiwan exceptional working day on February, 20th 2021 (628).
- Hotfix: September 11th is a working day in Taiwan (628).

7.2.0

======

Incorporate changes from workalendar v15.0.0 (2021-02-19)

Major changes

- API: New method available in `core` module: `Calendar.get_iso_week_date()` to find the weekday X of the week number Y (619).
- Requirements: Replace pytz with `(backports.)zoneinfo`, thx to eumiro (614)
- Doc: Documented the different (in)compatibilities due to the use of `zoneinfo` (614).

Bugfixes

- Small fixes in Netherlands School calendars (619).
- Temporary downgrade of `pyupgrade` to fix the `pyup_dirs`.

Improving test coverage

- Improve Netherlands coverage (546, 619).
- Improve Russia coverage (546).
- Improve USA calendar coverage by removing a method that wasn't used anyways (`get_washington_birthday_december()`). The method is implemented in both Indiana and Georgia State calendars, and is specific for each state, even if they look very similar (546).
- Improve the `astronomy.py` module coverage (546).
- Improve coverage for the `tests/__init__.py` module (546). *Note:* system-dependant test branch (if Windows) won't be counted for coverage.

7.1.0

======

Incorporate changes from workalendar v14.3.0 (2021-01-15)

Calendars

- Update Malaysia 2022-2024 (Deepavali + Thaipusam) by jack-pace

Incorporate changes from workalendar v14.2.0 (2021-01-08)

Calendars

- Update Singapore for range from 2022 to 2030 (Deepavali), by hprobotic

Internal

- Replace `os.path.*` calls with `pathlib.Path`, thx to eumiro (603)
- Use f-string for string formatting, thx to eumiro (605)
- Simplify collections handling, thx to eumiro (606)
- Use integers for time units divisions, thx to eumiro
- Adding Mac OS & Windows tests to the test matrix (related to 607).
- Fix tests when running them on Windows (607).

7.0.0

======

New feature

- Enhanced support for multi-day "series" holidays such as Chinese Spring
Festival and Islamic Eid. Previously, if one day of the series was shifted
as per the observance shift rules, it would "merge" into the next day of the
series, effectively shortening the observed series. Now, all the following
days of the series are shifted, maintaining its duration.

Incorporate changes from workalendar v14.1.0 (2020-12-10)

- Fix Russia 2021 holidays, thx MichalChromcak for the bug report (578).

Incorporate changes from workalendar v14.0.0 (2020-11-27)

- Fixes

- Fix Russia calendar: non-working days are shifted to the next MON when they happen on the week-end (589).
- Fix Russia New year holidays. It has become a week off since 2005 (related to 578).
- Added Russia COVID-19 non-working days for the year 2020 ; these days are not shifted to next MON (578).
- Fixed Russia Christmas day ; December 25th is not a public holiday. Fixed several other Orthodox calendars (530).
- Update China's public holidays for 2021, thanks iamsk.

- Minor changes

- Added a `daterange` function in `workalendar.core` module to iterate between two dates.

Incorporate changes from workalendar v13.0.0 (2020-11-13)

- Calendars

- Add optional school holidays to Netherlands calendar, by Flix6x (556).
- Add optional carnival to Netherlands calendar.

- Documentation

- Moving the `contributing.md` file to the `docs/` directory (573).
- Changed from `setup.py` to a nice `setup.cfg` file, thanks ewjoachim (576).
- Added documentation about class options (572).
- Converted `README.rst` file into `README.md` (575).
- Fixed Pull Request template to reference `setup.cfg` (587).

- Other changes

- Switched from Travis CI to Github Actions for CI jobs, thanks to mgu.
- Added support of Python 3.9 (557).
- Changed from `setup.py` to a nice `setup.cfg` file, thanks ewjoachim (576).
- Use the `setup.cfg` file in the key to cache in `ci.yml` file (587).
- [OBSOLETE] Switched from bionic to focal on Travis CI (we've switched to GH actions after that).

Incorporate changes from workalendar v12.1.0 (2020-10-16)

- New calendars

- Added Spain regions: Andalusia, Aragon, Castile and León, Castilla-La Mancha, Canary Islands, Extremadura, Galicia, Balearic Islands, La Rioja, Community of Madrid, Murcia, Navarre, Asturias, Basque Country, Cantabria, Valencian Community (531).
- Added all ISO codes for Spain regions - thx ainarela for your help on this (531).

- Other changes

- Refactored Spain test modules (531).
- Fix Catalonia calendar by removing *Sant Juan* day, which does not appear to be an official holiday (531).
- Improve coverage of `workalendar/core.py` module (546).
- Improve coverage for the Netherlands calendar - Queen's Day (546).
- Improve coverage for the Romania calendar - Liberation day (546).
- Improve coverage for the New Zealand calendar (546).
- Added a tox entrypoint to ensure code is Python 3.6+, using ``pyupgrade`` (566).
- Added the pyupgrade tox job to the test suite, amended contributing documentation (566).

Incorporate changes from workalendar v12.0.0 (2020-10-02)

- **Deprecation:** Dropped support for Python 3.5. As of this version, workalendar now requires Python 3.6+ (330).
- Improve coverage of Singapore calendar (546).

Incorporate changes from workalendar v11.0.1 (2020-09-11)

- Add ISO code decorator to Catalonia calendar, thanks to jbagot (551).
- Improve coverage of South Africa calendar (546).
- Improve coverage of Brazil calendar (546).
- Improve coverage of Canada (Nunavut) calendar (546).
- Improve coverage of Israel calendar (546).

Incorporate changes from workalendar v11.0.0 (2020-09-04)

- New calendar

- Added Mozambique calendar by mr-shovel (542).

- New feature

- Added iCal export feature, initiated by joooeey (197).
- Fix PRODID pattern for iCal exports: `"PRODID:-//workalendar//ical {__version__}//EN"`, using current workalendar version (543).

Incorporate changes from workalendar v10.4.0 (2020-08-28)

- New calendar

- Added Monaco calendar by joaopbnogueira (538).

- Major changes and bugfixes

- Migrating Labour Day as a worldwide holiday, disabled by default, but activated (to date) for about 50 countries (including label change when necessary), `contributing.md` documentation amended (467).
- Bugfix: Avoid Cesar Chavez Day duplicated shifts by refactoring the California shift rules (528).

- Other changes

- Small refactoring for the Colombia / added docstrings & comments to explain why we're not using stock options. Added tests for year 2020 and handling shift exceptions (509).
- Tech: Replace occurrences of `assertEquals` with `assertEqual` to clear warnings (533).
- Use `include_immaculate_conception` flag for Portugal, Brazil, Argentina, Paraguay calendars (529).

Incorporate changes from workalendar v10.3.0 (2020-07-10)

- Bugfixes

- Belarus: removing day after Radonitsa, which is apparently not a holiday.
- Algeria: assigning the week-end days as FRI+SAT, as it's following a Islamic calendar.

- Other changes

- Refactoring the core ``Calendar`` classes / mixins for better understanding. Only one ``Calendar`` subclass should be imported / used in calendar classes, the rest (when possible) should be ``Mixins`` (related to 511).
- Declaring the New year's Day as a worldwide holiday, with only two exceptions (to date): Israel & Qatar (511).
- Fixed `contributing.md` documentation with the new class/mixin organization (511).

Incorporate changes from workalendar v10.2.0 (2020-06-26)

- Bugfix: setting *Consciência Negra day* as a non-holiday by default for Brazilian calendars, thx to edniemeyer (516).
- Bugfix: Introducing the changes in Croatia holidays as of 2020 - Remembrance Day, Independence Day, Statehood Day... thx to davidpodrebarac for the bug report (515).

Incorporate changes from workalendar v10.1.0 (2020-06-18)

- Calendar fix

- Adding All Souls' Day to Lithuania calendar, starting of 2020, thx to norkunas (512).

- Minor changes

- Small fixes (docstrings, use of extends, etc) on Cayman Islands calendar (507).
- Moving Carnaval / Mardi Gras / Fat Tuesday calculation into the `workalendar.core` module, because it's used in at least 3 countries and some States / Counties in the USA.

Incorporate changes from workalendar v10.0.0 (2020-06-05)

- **BREAKING CHANGE**: the ``IsoRegistry.get_calendar_class()`` method has been removed from the code and should no longer be used (375, 495).

Incorporate changes from workalendar v9.2.0 (2020-06-02)

- New Calendars

- Added rules for all Switzerland Cantons, branching off the initial work by brutasse (497).

Incorporate changes from workalendar v9.0.1 (2020-05-22)

- Making the Israel calendar more efficient (498).
- Fixing duplicated holidays in Hong-Kong and Hong-Kong Bank holiday calendars (496).
- Integrating Hong-Kong holidays for 2021 (496).

Incorporate changes from workalendar v9.0.0 (2020-04-24)

- **BREAKING CHANGE**: the ``IsoRegistry.items()`` method has been removed from the API. You must use the ``get_calendars()`` to perform the same registry queries (375, 491).
- *Deprecation notice*: The usage of ``IsoRegistry.get_calendar_class()`` is strongly discouraged, in favor of ``get()``. The ``get_calendar_class`` method will be dropped in a further release. In the meantime, they'll be both equivalent (375, 418).

Incorporate changes from workalendar v8.4.0 (2020-04-17)

- New Calendar

- Added Kenyan calendar, by KidkArolis (484)

- Minor fixes

- Fixed Lithuania calendar to use the core flags for Assumption and All Saints (468).
- Fixed Malta calendar ; January 1st was already included, no need to add it to the ``FIXED_HOLIDAYS`` property (469).
- Small refactor in Netherlands calendar to use core constants (470).

Incorporate changes from workalendar v8.3.0 (2020-04-14)

- Fixing Hong-Kong calendar, where SAT are common working days (477).
- Introducing Hong-Kong Bank calendar. For banks, Saturdays are non-working days (477).

Incorporate changes from workalendar v8.2.2 (2020-04-10)

- Fixed Argentina's "Malvinas Day" date for 2020, shifted to March 31st because of the coronavirus crisis (476).
- Fixed Argentina's label for "Malvinas Day" and "Día de la Memoria" (476).

Incorporate changes from workalendar v8.2.1 (2020-04-03)

- Added BrazilBankCalendar to support `include_` flags and make it possible to extend and change these flags to support custom bank calendars (474).

Incorporate changes from workalendar v8.2.0 (2020-03-13)

- Added Belarus calendar, by alexdoesstuff (472).

Incorporate changes from workalendar v8.1.0 (2020-02-07)

- Added Israel holidays eves and removed holidays which are not affecting the working days in Israel (461).
- Fix warning in China's holidays to dynamically read supported years, thx fredrike (459).

Incorporate changes from workalendar v8.0.2 (2020-01-24)

- Fix several miscalculations in Georgia (USA) calendar (451).

Incorporate changes from workalendar v8.0.1 (2020-01-24)

- Fix Family Day for British Columbia (Canada) which was switched from 2nd to 3rd Monday of February in 2019 - thx jbroudou for the bug report (454).

Page 2 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.