Commit Graph

1054 Commits

Author SHA1 Message Date
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
Bruno Bord e757426826
v8.2.1
Change:

- Added BrazilBankCalendar to support `include_` flags and make it possible to extend and change these flags to support custom bank calendars (#474).
2020-04-03 10:45:49 +02:00
Bruno Bord 5370b45716
Merge pull request #475 from iurisilvio/brazil-bank-calendar-refactor
Refactor BrazilBankCalendar to use `include_*` flags
2020-04-03 10:11:14 +02:00
Iuri de Silvio be05e1ca77 Refactor BrazilBankCalendar to use `include_*` flags
It is really useful to allow reuse of this class.
2020-03-27 09:27:20 -03:00
Bruno Bord 90fc853b02
Back to dev => 8.3.0.dev0 2020-03-13 10:24:44 +01:00
Bruno Bord 6cb3dd1347
v8.2.0 2020-03-13 10:18:41 +01:00
Bruno Bord 93a5fbdfc4
Merge pull request #472 from alex-does-stuff/master
Adding holidays for Belarus
2020-03-13 10:17:14 +01:00
Alex Hoffmann 19c2b7c536 Adding holidays for Belarus 2020-03-04 14:24:29 +01:00
Bruno Bord 1d1e769dfb
Back to dev => 8.2.0.dev0 2020-02-07 10:14:40 +01:00
Bruno Bord 4f1945792e
v8.1.0
- 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).
2020-02-07 10:06:04 +01:00
Bruno Bord b88c5aa301
Merge pull request #462 from peopledoc/fredrike-patch-1
China support years as a dynamic warning
2020-02-07 10:04:02 +01:00
Bruno Bord 5f6e524742
Dynamically generate warning message for China holidays
Expanding @fredrike's idea, I've changed the way this warning message was generated.

Several reasons:

* Depending on your Python version, the message was sometimes a bit awkward, with years being in disorder (e.g.: "year 2019, 2020, 2018"). Dictionaries are strange.
* If we plan for the future, it wouldn't have been readable to have warnings with "2018, 2019, 2020, 2021, 2022, 2023, etc". An interval is more future-proof.
* Added tests, because tests are great ;o)

refs #459
2020-02-07 09:59:05 +01:00
Fredrik Erlandsson d67c02bb70
hina support years dynamic warning
also, updated Changelog.md
2020-02-07 09:58:36 +01:00
Bruno Bord 710afd45eb
Merge pull request #460 from elaav/fix-israel-holidays
Fixing the Israel holidays
2020-02-07 09:37:27 +01:00
Ela Avrahami 45cfd6ad35 Fixing the Israel holidays 2020-02-06 13:12:29 +02:00
Bruno Bord d3d1ad6eac
Back to dev => 8.1.0.dev2 2020-01-24 18:07:07 +01:00
Bruno Bord 7a85e46f0e
v8.0.2 2020-01-24 18:01:59 +01:00
Bruno Bord 7464ffabb6
Merge pull request #457 from peopledoc/451-georgia-state-fixes
Fix Georgia miscalculation of several state holidays
2020-01-24 18:01:06 +01:00
Bruno Bord 0ead89cf99
Fix Georgia miscalculation of several state holidays
refs #451

* Fix Robert E. Lee's Birthday label rules (renamed as of year 2016 into the neutral "State Holiday")
* (hopefully) Fixed Washington's Birthday observance around Christmas time
* Fix Confederate Memorial Day label rules (renamed as of year 2016 into the neutral "State Holiday")
2020-01-24 17:55:51 +01:00
Bruno Bord 123da9b0a8
Back to development => 8.1.0.dev1 2020-01-24 10:48:41 +01:00
Bruno Bord 1ffe5dad95
v8.0.1 2020-01-24 10:42:14 +01:00
Bruno Bord 351c661f78
Merge pull request #455 from peopledoc/454-british-columbia-family-day
Fix Family Day computation for British Columbia (Canada)
2020-01-24 10:40:07 +01:00
Bruno Bord 8654b69bb0
Fix Family Day computation for British Columbia (Canada)
closes #454

It fixes two things:

* Family Day was introduced in 2013, workalendar was assuming it was there before
* In 2019, Family Day was moved from the 2nd to the 3rd MON of February
2020-01-24 10:30:45 +01:00
Bruno Bord d68a50ebac
Back to dev => 8.1.0.dev0 2020-01-10 11:46:07 +01:00
Bruno Bord 669129d23b
v8.0.0
- **BREAKING CHANGE** Drop Support for Python 2 - EOL January 1st 2020 (#442).
- Added Ukraine calendar, by @apelloni.
- Small cleanup in the ``.travis.yml`` file, thx to @Natim.

**ISO Registry API Change**

- Changes in the ``registry.items()`` method API.
  - This method is aliased to ``get_calendars()``. In a near release, the ``items()`` method will change its purpose.
  - The ``get_calendars()`` method accepts an empty/missing ``region_codes`` argument to retrieve the full registry. Please see the [ISO Registry documentation](https://peopledoc.github.io/workalendar/iso-registry.html) for extensive usage docs (#403, #375).
2020-01-10 11:39:43 +01:00
Bruno Bord 8a3ebc5317
Merge pull request #448 from peopledoc/Natim-upgrade-tox-config
Small changes to tox/travis config
2020-01-10 11:23:47 +01:00
Rémy HUBSCHER ae2497ce55
Upgrade tox/travis config. 2020-01-10 11:08:19 +01:00
Bruno Bord 3c04a31df3
Merge pull request #446 from peopledoc/drop-python2-support
Drop python2 support
2020-01-10 10:56:33 +01:00
Bruno Bord d89eb0f005
Added a note in the Contributing document about coding standards
refs #442
2020-01-10 10:47:11 +01:00
Bruno Bord f0b5c11c1e
Removed conditional skip for tests that didn't work in Python 2
refs #442
2020-01-10 10:47:11 +01:00
Bruno Bord 9b9bbbb02d
Remove object inheritance for mixin and "non-calendar" classes
refs #442
2020-01-10 10:47:11 +01:00