diff --git a/CHANGELOG.md b/CHANGELOG.md index 33b8d0c..acd78eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,23 @@ # Holiday definitions +## 5.5.0 + +* Update `si` region to add `novo leto` (thanks to https://github.com/vlakre) +* Add informal Mothering Sunday in UK+IE (thanks to https://github.com/ericcj) +* Add Juneteenth for `federalreserve` and `federalreservebanks` (thanks to https://github.com/kapil2004) +* Create `ke` region with initial holidays (thanks to https://github.com/bkmgit) +* Add planned 2023 ocurrence of Latvian Song and Dance festival (thanks to https://github.com/aleksandrs-ledovskis) +* Update `mx` holidays for accuracy (thanks to https://github.com/andres107) +* Add Juneteenth to NYSE calendar (thanks to https://github.com/vassilios) +* Add Matariki to `nz` (thanks to https://github.com/bagp1) +* Adds function to calculate shifting Ekka holiday (thanks to https://github.com/antonivanopoulos) +* change 9th of May dan pobjede to informal holiday (thanks to https://github.com/KristjanSever) +* Add AU National Day of Mourning (thanks to https://github.com/justinjones) +* Correct KE holidays indentation (thanks to https://github.com/hlascelles) +* Add QEII Memorial Bank Holiday (thanks to https://github.com/hlascelles) + ## 5.4.1 + * Add Platinum Jubilee bank holiday for 2022. (thanks to https://github.com/frankieroberto) * Fix definitions tests. diff --git a/au.yaml b/au.yaml index 3daca17..38ff766 100644 --- a/au.yaml +++ b/au.yaml @@ -118,6 +118,11 @@ months: regions: [au_qld_brisbane] function: qld_brisbane_ekka_holiday(year) 9: + - name: National Day of Mourning for Her Majesty Queen Elizabeth II + regions: [au] + mday: 22 + year_ranges: + limited: [2022] - name: Queen's Birthday regions: [au_wa] week: -1 @@ -794,3 +799,18 @@ tests: regions: ["au_qld_brisbane"] expect: name: "Ekka" + - given: + date: '2022-09-22' + regions: ['au'] + expect: + name: "National Day of Mourning for Her Majesty Queen Elizabeth II" + - given: + date: '2023-09-22' + regions: ['au'] + expect: + holiday: false + - given: + date: '2021-09-22' + regions: ['au'] + expect: + holiday: false diff --git a/gb.yaml b/gb.yaml index 1fc3a9c..3306e5a 100644 --- a/gb.yaml +++ b/gb.yaml @@ -108,6 +108,12 @@ months: regions: [gb_eng, gb_wls, gb_eaw, gb_nir, je, gb_jsy, gg, gb_gsy] week: -1 wday: 1 + 9: + - name: Bank Holiday for the State Funeral of Queen Elizabeth II + regions: [gb] + mday: 19 + year_ranges: + limited: [2022] 11: - name: Guy Fawkes Day regions: [gb] @@ -507,6 +513,21 @@ tests: regions: ["gb"] expect: name: "Platinum Jubilee" + - given: + date: '2022-09-19' + regions: ["gb"] + expect: + name: "Bank Holiday for the State Funeral of Queen Elizabeth II" + - given: + date: '2023-09-19' + regions: ['gb'] + expect: + holiday: false + - given: + date: '2021-09-19' + regions: ['gb'] + expect: + holiday: false - given: date: '2023-05-29' regions: ["gb"] diff --git a/ke.yaml b/ke.yaml index be2be27..e6b9d6d 100644 --- a/ke.yaml +++ b/ke.yaml @@ -85,12 +85,12 @@ tests: regions: ["ke"] expect: name: "Huduma Day" - - given: + - given: date: '2018-10-20' regions: ["ke"] expect: name: "Mashujaa Day" - - given: + - given: date: '2019-12-12' regions: ["ke"] expect: diff --git a/rs_cyrl.yaml b/rs_cyrl.yaml index 9c2c2b9..0e9d97b 100644 --- a/rs_cyrl.yaml +++ b/rs_cyrl.yaml @@ -54,6 +54,7 @@ months: mday: 2 - name: Дан победе над фашизмом # Victory Day regions: [rs_cyrl] + type: informal mday: 9 6: - name: Видовдан # Saint Vitus Day @@ -93,6 +94,7 @@ tests: - given: date: '2017-5-9' regions: ["rs_cyrl"] + options: ["informal"] expect: name: "Дан победе над фашизмом" - given: diff --git a/rs_la.yaml b/rs_la.yaml index a871b90..b8630e5 100644 --- a/rs_la.yaml +++ b/rs_la.yaml @@ -54,6 +54,7 @@ months: mday: 2 - name: Dan pobede # Victory Day regions: [rs_la] + type: informal mday: 9 6: - name: Vidovdan # Saint Vitus Day @@ -93,6 +94,7 @@ tests: - given: date: '2017-5-9' regions: ["rs_la"] + options: ["informal"] expect: name: "Dan pobede" - given: