Skip to content

Commit

Permalink
feat: fathers day for au, gb and ie
Browse files Browse the repository at this point in the history
  • Loading branch information
zackpollard committed Dec 15, 2021
1 parent 4dc3768 commit 7b6d5ed
Show file tree
Hide file tree
Showing 224 changed files with 1,990 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
3 changes: 3 additions & 0 deletions data/countries/AU.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ holidays:
12-26 and if saturday then next monday if sunday then next tuesday:
substitute: true
_name: 12-26
1st sunday in September:
_name: Fathers Day
type: observance
states:
# @source https://www.legislation.act.gov.au/a/1958-19
ACT:
Expand Down
3 changes: 3 additions & 0 deletions data/countries/GB.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ holidays:
"2022-06-03":
name:
en: Queen’s Platinum Jubilee
3rd sunday in June:
_name: Fathers Day
type: observance
states:
ALD:
name: Alderney
Expand Down
3 changes: 3 additions & 0 deletions data/countries/IE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@ holidays:
name:
en: Christmas Bank Holiday
type: bank
3rd sunday in June:
_name: Fathers Day
type: observance
9 changes: 9 additions & 0 deletions test/fixtures/AU-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Sat"
},
{
"date": "2015-09-06 00:00:00",
"start": "2015-09-05T14:00:00.000Z",
"end": "2015-09-06T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2015-12-25 00:00:00",
"start": "2015-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Mon"
},
{
"date": "2016-09-04 00:00:00",
"start": "2016-09-03T14:00:00.000Z",
"end": "2016-09-04T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2016-12-25 00:00:00",
"start": "2016-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
"rule": "04-25",
"_weekday": "Tue"
},
{
"date": "2017-09-03 00:00:00",
"start": "2017-09-02T14:00:00.000Z",
"end": "2017-09-03T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2017-12-25 00:00:00",
"start": "2017-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2018.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Wed"
},
{
"date": "2018-09-02 00:00:00",
"start": "2018-09-01T14:00:00.000Z",
"end": "2018-09-02T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2018-12-25 00:00:00",
"start": "2018-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Thu"
},
{
"date": "2019-09-01 00:00:00",
"start": "2019-08-31T14:00:00.000Z",
"end": "2019-09-01T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2019-12-25 00:00:00",
"start": "2019-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Sat"
},
{
"date": "2020-09-06 00:00:00",
"start": "2020-09-05T14:00:00.000Z",
"end": "2020-09-06T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2020-12-25 00:00:00",
"start": "2020-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Sun"
},
{
"date": "2021-09-05 00:00:00",
"start": "2021-09-04T14:00:00.000Z",
"end": "2021-09-05T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2021-12-25 00:00:00",
"start": "2021-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
"rule": "04-25",
"_weekday": "Mon"
},
{
"date": "2022-09-04 00:00:00",
"start": "2022-09-03T14:00:00.000Z",
"end": "2022-09-04T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2022-12-25 00:00:00",
"start": "2022-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
"rule": "04-25",
"_weekday": "Tue"
},
{
"date": "2023-09-03 00:00:00",
"start": "2023-09-02T14:00:00.000Z",
"end": "2023-09-03T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2023-12-25 00:00:00",
"start": "2023-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Thu"
},
{
"date": "2024-09-01 00:00:00",
"start": "2024-08-31T14:00:00.000Z",
"end": "2024-09-01T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2024-12-25 00:00:00",
"start": "2024-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"rule": "04-25",
"_weekday": "Fri"
},
{
"date": "2025-09-07 00:00:00",
"start": "2025-09-06T14:00:00.000Z",
"end": "2025-09-07T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2025-12-25 00:00:00",
"start": "2025-12-24T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@
"rule": "2nd monday in June",
"_weekday": "Mon"
},
{
"date": "2015-09-06 00:00:00",
"start": "2015-09-05T14:00:00.000Z",
"end": "2015-09-06T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2015-10-05 00:00:00",
"start": "2015-10-04T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@
"rule": "2nd monday in June",
"_weekday": "Mon"
},
{
"date": "2016-09-04 00:00:00",
"start": "2016-09-03T14:00:00.000Z",
"end": "2016-09-04T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2016-10-03 00:00:00",
"start": "2016-10-02T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@
"rule": "2nd monday in June",
"_weekday": "Mon"
},
{
"date": "2017-09-03 00:00:00",
"start": "2017-09-02T14:00:00.000Z",
"end": "2017-09-03T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2017-10-02 00:00:00",
"start": "2017-10-01T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2018.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@
"rule": "2nd monday in June",
"_weekday": "Mon"
},
{
"date": "2018-09-02 00:00:00",
"start": "2018-09-01T14:00:00.000Z",
"end": "2018-09-02T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2018-10-01 00:00:00",
"start": "2018-09-30T14:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@
"rule": "2nd monday in June",
"_weekday": "Mon"
},
{
"date": "2019-09-01 00:00:00",
"start": "2019-08-31T14:00:00.000Z",
"end": "2019-09-01T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2019-10-07 00:00:00",
"start": "2019-10-06T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@
"rule": "2nd monday in June",
"_weekday": "Mon"
},
{
"date": "2020-09-06 00:00:00",
"start": "2020-09-05T14:00:00.000Z",
"end": "2020-09-06T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2020-10-05 00:00:00",
"start": "2020-10-04T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@
"rule": "2nd monday in June",
"_weekday": "Mon"
},
{
"date": "2021-09-05 00:00:00",
"start": "2021-09-04T14:00:00.000Z",
"end": "2021-09-05T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2021-10-04 00:00:00",
"start": "2021-10-03T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@
"rule": "2nd monday in June",
"_weekday": "Mon"
},
{
"date": "2022-09-04 00:00:00",
"start": "2022-09-03T14:00:00.000Z",
"end": "2022-09-04T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2022-10-03 00:00:00",
"start": "2022-10-02T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@
"rule": "2nd monday in June",
"_weekday": "Mon"
},
{
"date": "2023-09-03 00:00:00",
"start": "2023-09-02T14:00:00.000Z",
"end": "2023-09-03T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2023-10-02 00:00:00",
"start": "2023-10-01T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@
"rule": "2nd monday in June",
"_weekday": "Mon"
},
{
"date": "2024-09-01 00:00:00",
"start": "2024-08-31T14:00:00.000Z",
"end": "2024-09-01T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2024-10-07 00:00:00",
"start": "2024-10-06T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-ACT-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@
"rule": "2nd monday in June",
"_weekday": "Mon"
},
{
"date": "2025-09-07 00:00:00",
"start": "2025-09-06T14:00:00.000Z",
"end": "2025-09-07T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2025-10-06 00:00:00",
"start": "2025-10-05T13:00:00.000Z",
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/AU-NSW-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,15 @@
"rule": "1st monday in August",
"_weekday": "Mon"
},
{
"date": "2015-09-06 00:00:00",
"start": "2015-09-05T14:00:00.000Z",
"end": "2015-09-06T14:00:00.000Z",
"name": "Father's Day",
"type": "observance",
"rule": "1st sunday in September",
"_weekday": "Sun"
},
{
"date": "2015-10-05 00:00:00",
"start": "2015-10-04T13:00:00.000Z",
Expand Down
Loading

0 comments on commit 7b6d5ed

Please sign in to comment.