Skip to content

Commit

Permalink
fix: modify Queen's Birthday to King's Birthday in Australia
Browse files Browse the repository at this point in the history
  • Loading branch information
nanodino committed Oct 10, 2023
1 parent 106aebf commit a4435a7
Show file tree
Hide file tree
Showing 43 changed files with 140 additions and 84 deletions.
56 changes: 56 additions & 0 deletions data/countries/AU.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ holidays:
2nd monday in June:
name:
en: Queen's Birthday
active:
- to: "2022-09-08"
"2nd monday in June #1":
name:
en: King's Birthday
active:
- from: "2022-09-09"
1st monday in October:
name:
en: Labour Day
Expand All @@ -92,6 +99,13 @@ holidays:
2nd monday in June:
name:
en: Queen's Birthday
active:
- to: "2022-09-08"
"2nd monday in June #1":
name:
en: King's Birthday
active:
- from: "2022-09-09"
1st monday in August:
name:
en: Bank Holiday
Expand All @@ -117,6 +131,13 @@ holidays:
2nd monday in June:
name:
en: Queen's Birthday
active:
- to: "2022-09-08"
"2nd monday in June #1":
name:
en: King's Birthday
active:
- from: "2022-09-09"
1st monday in August:
name:
en: Picnic Day
Expand Down Expand Up @@ -152,6 +173,12 @@ holidays:
1st monday in October:
name:
en: Queen's Birthday
active:
- to: "2022-09-08"
"1st monday in October #1":
name: King's Birthday
active:
- from: "2022-09-09"
12-24 18:00:
_name: 12-24
# @source https://www.legislation.sa.gov.au/LZ/C/A/HOLIDAYS%20ACT%201910.aspx
Expand All @@ -167,6 +194,13 @@ holidays:
2nd monday in June:
name:
en: Queen's Birthday
active:
- to: "2022-09-08"
"2nd monday in June #1":
name:
en: King's Birthday
active:
- from: "2022-09-09"
1st monday in October:
name:
en: Labour Day
Expand Down Expand Up @@ -204,6 +238,13 @@ holidays:
2nd monday in June:
name:
en: Queen's Birthday
active:
- to: "2022-09-08"
"2nd monday in June #1":
name:
en: King's Birthday
active:
- from: "2022-09-09"
1st monday in October: false
12-26 and if saturday then next monday if sunday then next tuesday: false
12-26 if saturday then next monday if sunday then next tuesday:
Expand All @@ -221,6 +262,13 @@ holidays:
2nd monday in June:
name:
en: Queen's Birthday
active:
- to: "2022-09-08"
"2nd monday in June #1":
name:
en: King's Birthday
active:
- from: "2022-09-09"
1st monday in October: false
# introduced in 2015-08
# @source http://www.gazette.vic.gov.au/gazette/Gazettes2015
Expand Down Expand Up @@ -256,4 +304,12 @@ holidays:
name:
en: Queen's Birthday
note: Might be on a different day; is proclaimed by Governor
active:
- to: "2022-09-08"
"monday before October #1":
name:
en: King's Birthday
note: Might be on a different day; is proclaimed by Governor
active:
- from: "2022-09-09"
1st monday in October: false
4 changes: 2 additions & 2 deletions test/fixtures/AU-ACT-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@
"date": "2023-06-12 00:00:00",
"start": "2023-06-11T14:00:00.000Z",
"end": "2023-06-12T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-ACT-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@
"date": "2024-06-10 00:00:00",
"start": "2024-06-09T14:00:00.000Z",
"end": "2024-06-10T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-ACT-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@
"date": "2025-06-09 00:00:00",
"start": "2025-06-08T14:00:00.000Z",
"end": "2025-06-09T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-ACT-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@
"date": "2026-06-08 00:00:00",
"start": "2026-06-07T14:00:00.000Z",
"end": "2026-06-08T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-ACT-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@
"date": "2027-06-14 00:00:00",
"start": "2027-06-13T14:00:00.000Z",
"end": "2027-06-14T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-NSW-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@
"date": "2023-06-12 00:00:00",
"start": "2023-06-11T14:00:00.000Z",
"end": "2023-06-12T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-NSW-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
"date": "2024-06-10 00:00:00",
"start": "2024-06-09T14:00:00.000Z",
"end": "2024-06-10T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-NSW-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
"date": "2025-06-09 00:00:00",
"start": "2025-06-08T14:00:00.000Z",
"end": "2025-06-09T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-NSW-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
"date": "2026-06-08 00:00:00",
"start": "2026-06-07T14:00:00.000Z",
"end": "2026-06-08T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-NSW-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
"date": "2027-06-14 00:00:00",
"start": "2027-06-13T14:00:00.000Z",
"end": "2027-06-14T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-NT-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@
"date": "2023-06-12 00:00:00",
"start": "2023-06-11T14:30:00.000Z",
"end": "2023-06-12T14:30:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-NT-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
"date": "2024-06-10 00:00:00",
"start": "2024-06-09T14:30:00.000Z",
"end": "2024-06-10T14:30:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-NT-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
"date": "2025-06-09 00:00:00",
"start": "2025-06-08T14:30:00.000Z",
"end": "2025-06-09T14:30:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-NT-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
"date": "2026-06-08 00:00:00",
"start": "2026-06-07T14:30:00.000Z",
"end": "2026-06-08T14:30:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-NT-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
"date": "2027-06-14 00:00:00",
"start": "2027-06-13T14:30:00.000Z",
"end": "2027-06-14T14:30:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-QLD-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@
"date": "2022-10-03 00:00:00",
"start": "2022-10-02T14:00:00.000Z",
"end": "2022-10-03T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "1st monday in October",
"rule": "1st monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-QLD-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@
"date": "2023-10-02 00:00:00",
"start": "2023-10-01T14:00:00.000Z",
"end": "2023-10-02T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "1st monday in October",
"rule": "1st monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-QLD-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@
"date": "2024-10-07 00:00:00",
"start": "2024-10-06T14:00:00.000Z",
"end": "2024-10-07T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "1st monday in October",
"rule": "1st monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-QLD-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@
"date": "2025-10-06 00:00:00",
"start": "2025-10-05T14:00:00.000Z",
"end": "2025-10-06T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "1st monday in October",
"rule": "1st monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-QLD-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@
"date": "2026-10-05 00:00:00",
"start": "2026-10-04T14:00:00.000Z",
"end": "2026-10-05T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "1st monday in October",
"rule": "1st monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-QLD-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@
"date": "2027-10-04 00:00:00",
"start": "2027-10-03T14:00:00.000Z",
"end": "2027-10-04T14:00:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "1st monday in October",
"rule": "1st monday in October #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-SA-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@
"date": "2023-06-12 00:00:00",
"start": "2023-06-11T14:30:00.000Z",
"end": "2023-06-12T14:30:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-SA-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
"date": "2024-06-10 00:00:00",
"start": "2024-06-09T14:30:00.000Z",
"end": "2024-06-10T14:30:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/AU-SA-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
"date": "2025-06-09 00:00:00",
"start": "2025-06-08T14:30:00.000Z",
"end": "2025-06-09T14:30:00.000Z",
"name": "Queen's Birthday",
"name": "King's Birthday",
"type": "public",
"rule": "2nd monday in June",
"rule": "2nd monday in June #1",
"_weekday": "Mon"
},
{
Expand Down
Loading

0 comments on commit a4435a7

Please sign in to comment.