Commit Graph

1034 Commits

Author SHA1 Message Date
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
Bruno Bord 011aece3c9
Merge pull request #488 from peopledoc/netherlands-day-constants
Small refactor in Netherlands calendar to use core constants
2020-04-17 11:22:36 +02:00
Bruno Bord d87de8cadf
Small refactor in Netherlands calendar to use core constants
closes #470
2020-04-17 11:16:10 +02:00
Bruno Bord 45bb9fb837
Merge pull request #487 from peopledoc/malta-new-year
Fixed Malta calendar - January 1st was already included
2020-04-17 11:15:27 +02:00
Bruno Bord a80adc1fc3
Fixed Malta calendar - January 1st was already included
There was no need to add it to the ``FIXED_HOLIDAYS`` property.

closes #469
2020-04-17 11:08:03 +02:00
Bruno Bord b73f8e638b
Merge pull request #486 from peopledoc/lithuania-fix-assumption
Fixed Lithuania calender to use the core flags for Assumption and All Saints
2020-04-17 11:07:01 +02:00
Bruno Bord 67feaab1b9
Fixed Lithuania calender to use the core flags for Assumption and All Saints
closes #468
2020-04-17 11:00:56 +02:00
Bruno Bord 5f20d06d42
Merge pull request #484 from KidkArolis/add-kenya
Add Kenyan calendar
2020-04-17 10:52:43 +02:00
Karolis Narkevicius 620f77a348 Add Kenyan calendar 2020-04-17 09:47:29 +01:00
Bruno Bord 469ac9277f
Back to dev => 8.4.0.dev0 2020-04-14 10:15:05 +02:00
Bruno Bord 882175d2f3
v8.3.0 2020-04-14 10:07:23 +02:00
Bruno Bord a759f61156
Merge pull request #482 from peopledoc/hong-kong-saturday-is-a-working-day
Hong Kong saturday is a working day
2020-04-14 09:46:47 +02:00
Bruno Bord c7c3408523
Adding the Hong-Kong Bank calendar
For banks, Saturdays are non-working days. Although, the same shift rules apply (holidays are shifted only if happening on SUN)

refs #477
2020-04-10 14:25:56 +02:00
Bruno Bord cdd659ef67
Fixing Hong-Kong holiday shift calculations
refs #477
2020-04-10 14:20:59 +02:00
Bruno Bord 311f6e222d
Back to development => 8.3.0.dev2 2020-04-10 10:55:08 +02:00
Bruno Bord a6f6868e49
v8.2.2 2020-04-10 10:47:42 +02:00
Bruno Bord 6e4417f3fe
Merge pull request #479 from peopledoc/fix-argentina-holiday-names-shift-2020
Fix argentina holiday names shift 2020
2020-04-10 10:41:04 +02:00
Bruno Bord 1c41e18ec1
Fixed Argentina's label for "Día Nacional de la Memoria"
refs #476
2020-04-03 14:51:49 +02:00
Bruno Bord 394d4ecd59
Fixed Argentina's label for "Malvinas Day"
refs #476
2020-04-03 14:47:35 +02:00
Bruno Bord 720fc37468
Fixed Argentina's "Malvinas Day" date for 2020
This holiday was shifted to March 31st because of the coronavirus crisis

refs #476
2020-04-03 14:44:47 +02:00
Bruno Bord e8f0aa0f46
Back to development => 8.3.0.dev1 2020-04-03 10:59:28 +02:00