Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions data/countries/AU.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,15 @@ holidays:
12-25 if saturday then next monday if sunday then next tuesday:
substitute: true
_name: 12-25
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:
12-26 and if saturday then next monday if sunday then next tuesday:
substitute: true
_name: 12-26
active:
- from: "2023-12-26"
12-26 if saturday then next monday if sunday then next tuesday:
_name: 12-26
active:
- to: "2023-12-26"
12-31 19:00:
_name: 12-31
# @source https://www.legislation.qld.gov.au/view/html/inforce/current/act-1983-018
Expand Down Expand Up @@ -210,10 +215,15 @@ holidays:
12-25 if saturday then next monday if sunday then next tuesday:
substitute: true
_name: 12-25
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:
12-26 and if saturday then next monday if sunday then next tuesday:
substitute: true
name: Proclamation Day
active:
- from: "2024-12-26"
12-26 if saturday then next monday if sunday then next tuesday:
name: Proclamation Day
active:
- to: "2024-12-26"
12-31 19:00:
_name: 12-31
# @source https://www.legislation.tas.gov.au/view/html/inforce/current/act-2000-096
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/AU-NT-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"end": "2023-12-26T14:30:00.000Z",
"name": "Boxing Day",
"type": "public",
"rule": "12-26 if saturday then next monday if sunday then next tuesday",
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Tue"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/AU-NT-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"end": "2024-12-26T14:30:00.000Z",
"name": "Boxing Day",
"type": "public",
"rule": "12-26 if saturday then next monday if sunday then next tuesday",
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Thu"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/AU-NT-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"end": "2025-12-26T14:30:00.000Z",
"name": "Boxing Day",
"type": "public",
"rule": "12-26 if saturday then next monday if sunday then next tuesday",
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Fri"
},
{
Expand Down
14 changes: 12 additions & 2 deletions test/fixtures/AU-NT-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,23 @@
"rule": "12-25 if saturday then next monday if sunday then next tuesday",
"_weekday": "Fri"
},
{
"date": "2026-12-26 00:00:00",
"start": "2026-12-25T14:30:00.000Z",
"end": "2026-12-26T14:30:00.000Z",
"name": "Boxing Day",
"type": "public",
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Sat"
},
{
"date": "2026-12-28 00:00:00",
"start": "2026-12-27T14:30:00.000Z",
"end": "2026-12-28T14:30:00.000Z",
"name": "Boxing Day",
"name": "Boxing Day (substitute day)",
"type": "public",
"rule": "12-26 if saturday then next monday if sunday then next tuesday",
"substitute": true,
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Mon"
},
{
Expand Down
14 changes: 12 additions & 2 deletions test/fixtures/AU-NT-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,15 @@
"rule": "12-24 19:00",
"_weekday": "Fri"
},
{
"date": "2027-12-26 00:00:00",
"start": "2027-12-25T14:30:00.000Z",
"end": "2027-12-26T14:30:00.000Z",
"name": "Boxing Day",
"type": "public",
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Sun"
},
{
"date": "2027-12-27 00:00:00",
"start": "2027-12-26T14:30:00.000Z",
Expand All @@ -120,9 +129,10 @@
"date": "2027-12-28 00:00:00",
"start": "2027-12-27T14:30:00.000Z",
"end": "2027-12-28T14:30:00.000Z",
"name": "Boxing Day",
"name": "Boxing Day (substitute day)",
"type": "public",
"rule": "12-26 if saturday then next monday if sunday then next tuesday",
"substitute": true,
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Tue"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/AU-NT-2028.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"end": "2028-12-26T14:30:00.000Z",
"name": "Boxing Day",
"type": "public",
"rule": "12-26 if saturday then next monday if sunday then next tuesday",
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Tue"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/AU-NT-2029.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"end": "2029-12-26T14:30:00.000Z",
"name": "Boxing Day",
"type": "public",
"rule": "12-26 if saturday then next monday if sunday then next tuesday",
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Wed"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/AU-SA-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"end": "2024-12-26T13:30:00.000Z",
"name": "Proclamation Day",
"type": "public",
"rule": "12-26 if saturday then next monday if sunday then next tuesday",
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Thu"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/AU-SA-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"end": "2025-12-26T13:30:00.000Z",
"name": "Proclamation Day",
"type": "public",
"rule": "12-26 if saturday then next monday if sunday then next tuesday",
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Fri"
},
{
Expand Down
12 changes: 11 additions & 1 deletion test/fixtures/AU-SA-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,23 @@
"rule": "12-25 if saturday then next monday if sunday then next tuesday",
"_weekday": "Fri"
},
{
"date": "2026-12-26 00:00:00",
"start": "2026-12-25T13:30:00.000Z",
"end": "2026-12-26T13:30:00.000Z",
"name": "Proclamation Day",
"type": "public",
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Sat"
},
{
"date": "2026-12-28 00:00:00",
"start": "2026-12-27T13:30:00.000Z",
"end": "2026-12-28T13:30:00.000Z",
"name": "Proclamation Day",
"type": "public",
"rule": "12-26 if saturday then next monday if sunday then next tuesday",
"substitute": true,
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Mon"
},
{
Expand Down
12 changes: 11 additions & 1 deletion test/fixtures/AU-SA-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,15 @@
"rule": "12-24 19:00",
"_weekday": "Fri"
},
{
"date": "2027-12-26 00:00:00",
"start": "2027-12-25T13:30:00.000Z",
"end": "2027-12-26T13:30:00.000Z",
"name": "Proclamation Day",
"type": "public",
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Sun"
},
{
"date": "2027-12-27 00:00:00",
"start": "2027-12-26T13:30:00.000Z",
Expand All @@ -122,7 +131,8 @@
"end": "2027-12-28T13:30:00.000Z",
"name": "Proclamation Day",
"type": "public",
"rule": "12-26 if saturday then next monday if sunday then next tuesday",
"substitute": true,
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Tue"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/AU-SA-2028.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"end": "2028-12-26T13:30:00.000Z",
"name": "Proclamation Day",
"type": "public",
"rule": "12-26 if saturday then next monday if sunday then next tuesday",
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Tue"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/AU-SA-2029.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"end": "2029-12-26T13:30:00.000Z",
"name": "Proclamation Day",
"type": "public",
"rule": "12-26 if saturday then next monday if sunday then next tuesday",
"rule": "12-26 and if saturday then next monday if sunday then next tuesday",
"_weekday": "Wed"
},
{
Expand Down
Loading