Skip to content

Commit

Permalink
Merge branch 'holidays:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
DagonWat authored Sep 26, 2022
2 parents 0273ffc + 905c805 commit 72aa6bd
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 2 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
20 changes: 20 additions & 0 deletions au.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
21 changes: 21 additions & 0 deletions gb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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"]
Expand Down
4 changes: 2 additions & 2 deletions ke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions rs_cyrl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ months:
mday: 2
- name: Дан победе над фашизмом # Victory Day
regions: [rs_cyrl]
type: informal
mday: 9
6:
- name: Видовдан # Saint Vitus Day
Expand Down Expand Up @@ -93,6 +94,7 @@ tests:
- given:
date: '2017-5-9'
regions: ["rs_cyrl"]
options: ["informal"]
expect:
name: "Дан победе над фашизмом"
- given:
Expand Down
2 changes: 2 additions & 0 deletions rs_la.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -93,6 +94,7 @@ tests:
- given:
date: '2017-5-9'
regions: ["rs_la"]
options: ["informal"]
expect:
name: "Dan pobede"
- given:
Expand Down

0 comments on commit 72aa6bd

Please sign in to comment.