Skip to content

Commit 72aa6bd

Browse files
authored
Merge branch 'holidays:master' into master
2 parents 0273ffc + 905c805 commit 72aa6bd

File tree

6 files changed

+64
-2
lines changed

6 files changed

+64
-2
lines changed

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
# Holiday definitions
22

3+
## 5.5.0
4+
5+
* Update `si` region to add `novo leto` (thanks to https://github.com/vlakre)
6+
* Add informal Mothering Sunday in UK+IE (thanks to https://github.com/ericcj)
7+
* Add Juneteenth for `federalreserve` and `federalreservebanks` (thanks to https://github.com/kapil2004)
8+
* Create `ke` region with initial holidays (thanks to https://github.com/bkmgit)
9+
* Add planned 2023 ocurrence of Latvian Song and Dance festival (thanks to https://github.com/aleksandrs-ledovskis)
10+
* Update `mx` holidays for accuracy (thanks to https://github.com/andres107)
11+
* Add Juneteenth to NYSE calendar (thanks to https://github.com/vassilios)
12+
* Add Matariki to `nz` (thanks to https://github.com/bagp1)
13+
* Adds function to calculate shifting Ekka holiday (thanks to https://github.com/antonivanopoulos)
14+
* change 9th of May dan pobjede to informal holiday (thanks to https://github.com/KristjanSever)
15+
* Add AU National Day of Mourning (thanks to https://github.com/justinjones)
16+
* Correct KE holidays indentation (thanks to https://github.com/hlascelles)
17+
* Add QEII Memorial Bank Holiday (thanks to https://github.com/hlascelles)
18+
319
## 5.4.1
20+
421
* Add Platinum Jubilee bank holiday for 2022. (thanks to https://github.com/frankieroberto)
522
* Fix definitions tests.
623

au.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ months:
118118
regions: [au_qld_brisbane]
119119
function: qld_brisbane_ekka_holiday(year)
120120
9:
121+
- name: National Day of Mourning for Her Majesty Queen Elizabeth II
122+
regions: [au]
123+
mday: 22
124+
year_ranges:
125+
limited: [2022]
121126
- name: Queen's Birthday
122127
regions: [au_wa]
123128
week: -1
@@ -794,3 +799,18 @@ tests:
794799
regions: ["au_qld_brisbane"]
795800
expect:
796801
name: "Ekka"
802+
- given:
803+
date: '2022-09-22'
804+
regions: ['au']
805+
expect:
806+
name: "National Day of Mourning for Her Majesty Queen Elizabeth II"
807+
- given:
808+
date: '2023-09-22'
809+
regions: ['au']
810+
expect:
811+
holiday: false
812+
- given:
813+
date: '2021-09-22'
814+
regions: ['au']
815+
expect:
816+
holiday: false

gb.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ months:
108108
regions: [gb_eng, gb_wls, gb_eaw, gb_nir, je, gb_jsy, gg, gb_gsy]
109109
week: -1
110110
wday: 1
111+
9:
112+
- name: Bank Holiday for the State Funeral of Queen Elizabeth II
113+
regions: [gb]
114+
mday: 19
115+
year_ranges:
116+
limited: [2022]
111117
11:
112118
- name: Guy Fawkes Day
113119
regions: [gb]
@@ -507,6 +513,21 @@ tests:
507513
regions: ["gb"]
508514
expect:
509515
name: "Platinum Jubilee"
516+
- given:
517+
date: '2022-09-19'
518+
regions: ["gb"]
519+
expect:
520+
name: "Bank Holiday for the State Funeral of Queen Elizabeth II"
521+
- given:
522+
date: '2023-09-19'
523+
regions: ['gb']
524+
expect:
525+
holiday: false
526+
- given:
527+
date: '2021-09-19'
528+
regions: ['gb']
529+
expect:
530+
holiday: false
510531
- given:
511532
date: '2023-05-29'
512533
regions: ["gb"]

ke.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ tests:
8585
regions: ["ke"]
8686
expect:
8787
name: "Huduma Day"
88-
- given:
88+
- given:
8989
date: '2018-10-20'
9090
regions: ["ke"]
9191
expect:
9292
name: "Mashujaa Day"
93-
- given:
93+
- given:
9494
date: '2019-12-12'
9595
regions: ["ke"]
9696
expect:

rs_cyrl.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ months:
5454
mday: 2
5555
- name: Дан победе над фашизмом # Victory Day
5656
regions: [rs_cyrl]
57+
type: informal
5758
mday: 9
5859
6:
5960
- name: Видовдан # Saint Vitus Day
@@ -93,6 +94,7 @@ tests:
9394
- given:
9495
date: '2017-5-9'
9596
regions: ["rs_cyrl"]
97+
options: ["informal"]
9698
expect:
9799
name: "Дан победе над фашизмом"
98100
- given:

rs_la.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ months:
5454
mday: 2
5555
- name: Dan pobede # Victory Day
5656
regions: [rs_la]
57+
type: informal
5758
mday: 9
5859
6:
5960
- name: Vidovdan # Saint Vitus Day
@@ -93,6 +94,7 @@ tests:
9394
- given:
9495
date: '2017-5-9'
9596
regions: ["rs_la"]
97+
options: ["informal"]
9698
expect:
9799
name: "Dan pobede"
98100
- given:

0 commit comments

Comments
 (0)