Skip to content

Commit

Permalink
Merge pull request #359 from kiwi-koder/add-queens-mourning-nz
Browse files Browse the repository at this point in the history
fix(NZ): 2022-09-26 National Day of Mourning for Queen Elizabeth II
  • Loading branch information
commenthol authored Sep 15, 2022
2 parents 76e0341 + aa363e0 commit aaa2cab
Show file tree
Hide file tree
Showing 21 changed files with 184 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/countries/NZ.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ holidays:
"2052-06-21":
name:
en: Matariki
# @source https://www.beehive.govt.nz/release/public-holiday-26-september-mark-passing-queen-elizabeth-ii#:~:text=New%20Zealand%20will%20mark%20the,Minister%20Jacinda%20Ardern%20has%20announced.
"2022-09-26":
name:
en: National Day of Mourning for Queen Elizabeth II
states:
AUK:
names:
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-AUK-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-BOP-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-CAN-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-CAN-Timaru-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-CIT-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-GIS-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-HKB-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-21 00:00:00",
"start": "2022-10-20T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-MBH-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-MWT-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-NSN-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-NTL-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-OTA-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-STL-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-TAS-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-TKI-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-WGN-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-WKO-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-WTC-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/NZ-WTC-Buller-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@
"rule": "2022-06-24",
"_weekday": "Fri"
},
{
"date": "2022-09-26 00:00:00",
"start": "2022-09-25T11:00:00.000Z",
"end": "2022-09-26T11:00:00.000Z",
"name": "National Day of Mourning for Queen Elizabeth II",
"type": "public",
"rule": "2022-09-26",
"_weekday": "Mon"
},
{
"date": "2022-10-24 00:00:00",
"start": "2022-10-23T11:00:00.000Z",
Expand Down

0 comments on commit aaa2cab

Please sign in to comment.