Commit Graph

1054 Commits

Author SHA1 Message Date
Frédéric Péters bab6e7c9bd debian: use debhelper compat level 12 2021-12-12 14:24:20 +01:00
Frédéric Péters 20a257dd0f add debian packaging 2020-07-27 08:03:39 +02:00
Bruno Bord 9566fa36d7 v10.3.0 2020-07-27 08:03:39 +02:00
Bruno Bord b3d7a11105
Declaring the New year's Day as a worldwide holiday
To date, there are only two exceptions: Israel & Qatar

refs #511
2020-07-10 09:38:43 +02:00
Bruno Bord b347472334
Refactoring core classes
* 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).
* Fixed Belarus holidays related to the Orthodox calendar
* Fixed Algeria week-end days
2020-07-03 17:44:57 +02:00
Bruno Bord 21ab4044c8
Back to dev => 10.3.0.dev0 2020-06-26 17:46:38 +02:00
Bruno Bord d834d52510
v10.2.0 2020-06-26 17:37:42 +02:00
Bruno Bord c777a2e3a3
Merge pull request #518 from peopledoc/515-croatia-changes-2020
Introducing the changes in Croatia holidays as of 2020
2020-06-26 17:35:52 +02:00
Bruno Bord 2237e64eb4
Introducing the changes in Croatia holidays as of 2020
* Remembrance Day was added,
* Independence Day is no longer a holiday
* Statehood Day date has changed

closes #515
2020-06-26 15:41:42 +02:00
Bruno Bord dd1196d82d
Merge pull request #517 from peopledoc/edniemeyer-patch-1
Brazil: Consciencia negra day is not a national holiday
2020-06-26 12:05:34 +02:00
Bruno Bord 3b711f2a71
Consciencia negra day is not a national holiday
Added tests & changelog entry

Consciencia Negra day is now specifically tested on all Brazil calendars
2020-06-26 11:40:02 +02:00
Eduardo Niemeyer 92db937ca8
Consciencia negra day is not a national holiday 2020-06-24 12:15:32 -03:00
Bruno Bord c6ecf5d250
Back to dev => 10.2.0.dev0 2020-06-18 12:04:43 +02:00
Bruno Bord a8ac908b0d
v10.1.0 2020-06-18 11:56:28 +02:00
Bruno Bord 19fe7f0bd6
Merge pull request #513 from peopledoc/512-lithuania-all-saints
Add All Souls Day to Lithuania
2020-06-18 11:52:31 +02:00
Tomas Norkūnas ed54596203
Add All Souls Day to Lithuania 2020-06-17 18:13:39 +02:00
Bruno Bord faa4764de3
Merge pull request #508 from peopledoc/carnaval-into-core
Moving Fat Tuesday calculation into the `workalendar.core` module
2020-06-08 09:29:56 +02:00
Bruno Bord d1d9a183a5
Moving Fat Tuesday calculation into the `workalendar.core` module
Also known as Mardi Gras, Carnaval, etc. it's used in at least 3 countries and some States / Counties in the USA.
2020-06-05 18:17:56 +02:00
Bruno Bord 6be0d0dcd0
Merge pull request #507 from peopledoc/cayman-island-small-fixes
Small fixes (docstrings, use of extends, etc) on Cayman Islands calendar
2020-06-05 15:43:32 +02:00
Bruno Bord a24cd61bac
Small fixes (docstrings, use of extends, etc) on Cayman Islands calendar 2020-06-05 15:01:54 +02:00
Bruno Bord 04c211c49d
Back to development => 10.1.0.dev0 2020-06-05 11:03:22 +02:00
Bruno Bord 20e4551110
v10.0.0
closes #375
2020-06-05 10:54:42 +02:00
Bruno Bord c022edfd85
Merge pull request #505 from peopledoc/495-drop-get_calendar_class-method
Removed the ``IsoRegistry.get_calendar_class()`` method
2020-06-05 10:50:31 +02:00
Bruno Bord f37155251b
Removed the ``IsoRegistry.get_calendar_class()`` method
refs #375, #495
2020-06-05 10:35:06 +02:00
Bruno Bord d208a5616f
Back to development => 9.3.0.dev0 2020-06-02 09:57:12 +02:00
Bruno Bord caadba54eb
v9.2.0
Added all Swiss Cantons to workalendar!
2020-06-02 09:48:50 +02:00
Bruno Bord 045d6dd262
Merge pull request #503 from peopledoc/brutasse-feature/all-ch-cantons
Switzerland calendars, including all Cantons
2020-05-29 18:10:29 +02:00
Bruno Bord f0cfe9c6b2
Implementing tests for all Switzerland Cantons
* Moving Switzerland tests to their own module
* All Cantons have associated tests: Aargau, Appenzell Innerrhoden, Appenzell Ausserrhoden, Bern, Basel-Landschaft, Basel-Stadt, Fribourg, Geneva, Glarus, Graubünden, Jura, Luzern, Neuchâtel, Nidwalden, Obwalden, St. Gallen, Schaffhausen, Solothurn, Schwyz, Thurgau, Ticino, Uri, Vaud, Valais, Zug, Zurich
* Tests added for Switzerland ISO registry entries (+ subregions)
2020-05-29 18:04:28 +02:00
Bruno Renié 454fd081f4
switzerland: add rules for all cantons
Information based on https://en.wikipedia.org/wiki/Public_holidays_in_Switzerland
2020-05-22 15:34:41 +02:00
Bruno Bord 8167326044
Back to development => 9.1.0.dev1 2020-05-22 14:32:35 +02:00
Bruno Bord 8d06a41a52
v9.0.1
Mainly bugfixes for Israel & Hong-Kong calendars
2020-05-22 14:23:34 +02:00
Bruno Bord cd18545662
Merge pull request #501 from peopledoc/hong-kong-holidays-2021
Hong kong holidays 2021
2020-05-22 14:22:09 +02:00
Bruno Bord d5403b563c
Integrating Hong-Kong holidays for 2021
refs #496
2020-05-22 14:11:29 +02:00
Bruno Bord f9593d3da5
Unrelated: moving deduplicate HK holidays to HongKongTest class
refs #496
2020-05-22 11:45:45 +02:00
Bruno Bord 1916738795
Merge pull request #500 from peopledoc/deduplicate-hk-bank-holidays
Fixing duplicated holidays in Hong-Kong and Hong-Kong Bank holiday calendars
2020-05-22 11:42:36 +02:00
Bruno Bord d6536522a2
Fixing duplicated holidays in Hong-Kong and Hong-Kong Bank holiday calendars
refs #496
2020-05-22 11:27:52 +02:00
Bruno Bord 3c6d7169b8
Merge pull request #499 from elaav/fix-israel-performance
Fix israel performance
2020-05-22 10:26:27 +02:00
Ela Avrahami b33f4abdc5 flake8 compliance 2020-05-17 16:45:57 +03:00
Ela Avrahami 3cfd0ed02d Making the Israel tests more precise 2020-05-17 16:40:21 +03:00
Ela Avrahami c48028e958 Removing redundant code and adding doc string 2020-05-13 16:38:05 +03:00
Ela Avrahami d7dfc6dd3f Adding a change log point 2020-05-13 16:11:58 +03:00
Ela Avrahami 3e7cc56223 Making the Israel calendar more efficient 2020-05-13 16:09:48 +03:00
Bruno Bord 61a120296b
Back to dev => 9.1.0.dev0 2020-04-24 15:26:26 +02:00
Bruno Bord f3cb05f8f2
v9.0.0
**BREAKING CHANGES** in the Registry API.

* Dropped the ``IsoRegistry.items()`` method,
* Started deprecation of the ``IsoRegistry.get_calendar_class`` method.
2020-04-24 15:17:38 +02:00
Bruno Bord 86a9ddf2c2
Merge pull request #493 from peopledoc/418-alias-get-calendar-class
Alias ``IsoRegistry.get_calendar_class()`` to ``get()``
2020-04-24 15:16:20 +02:00
Bruno Bord dc3fcf1b91
Alias ``IsoRegistry.get_calendar_class()`` to ``get()``
The ``get_calendar_class`` method will be dropped in a further release. In the meantime, they'll be both equivalent.

refs #375, closes #418.
2020-04-24 15:06:16 +02:00
Bruno Bord 3fd9b831b3
Merge pull request #492 from peopledoc/491-remove-registry-items-method
The ``IsoRegistry.items()`` method has been removed from the API
2020-04-24 12:11:12 +02:00
Bruno Bord 028305289e
The ``IsoRegistry.items()`` method has been removed from the API
This is a **BREAKING CHANGE**.
You must use the ``get_calendars()`` to perform the same registry queries
refs #375, closes #491.
2020-04-24 11:48:32 +02:00
Bruno Bord c5c5a39834
Back to development => 8.5.0.dev0 2020-04-17 14:07:04 +02:00
Bruno Bord 3c00cf98ce
v8.4.0
**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).
2020-04-17 13:56:42 +02:00