Skip to content

Commit

Permalink
fix(YT): Mayotte
Browse files Browse the repository at this point in the history
- update yaml YT
- update test for YT
  • Loading branch information
Seb735 committed May 24, 2021
1 parent 9db48b7 commit 5851850
Show file tree
Hide file tree
Showing 23 changed files with 2 additions and 198 deletions.
2 changes: 2 additions & 0 deletions data/countries/YT.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# @source https://www.joursferies.fr/pays/mayotte.php
holidays:
YT:
names:
Expand All @@ -10,5 +11,6 @@ holidays:
dayoff: sunday
_days: FR
days:
easter 49: false
04-27:
_name: Abolition of Slavery
9 changes: 0 additions & 9 deletions test/fixtures/FR-YT-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "easter 39",
"_weekday": "Thu"
},
{
"date": "2015-05-24 00:00:00",
"start": "2015-05-23T21:00:00.000Z",
"end": "2015-05-24T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2015-05-25 00:00:00",
"start": "2015-05-24T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/FR-YT-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "05-08",
"_weekday": "Sun"
},
{
"date": "2016-05-15 00:00:00",
"start": "2016-05-14T21:00:00.000Z",
"end": "2016-05-15T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2016-05-16 00:00:00",
"start": "2016-05-15T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/FR-YT-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
"rule": "sunday before 06-01",
"_weekday": "Sun"
},
{
"date": "2017-06-04 00:00:00",
"start": "2017-06-03T21:00:00.000Z",
"end": "2017-06-04T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2017-06-05 00:00:00",
"start": "2017-06-04T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/FR-YT-2018.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "easter 39",
"_weekday": "Thu"
},
{
"date": "2018-05-20 00:00:00",
"start": "2018-05-19T21:00:00.000Z",
"end": "2018-05-20T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2018-05-21 00:00:00",
"start": "2018-05-20T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/FR-YT-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
"rule": "easter 39",
"_weekday": "Thu"
},
{
"date": "2019-06-09 00:00:00",
"start": "2019-06-08T21:00:00.000Z",
"end": "2019-06-09T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2019-06-10 00:00:00",
"start": "2019-06-09T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/FR-YT-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
"rule": "sunday before 06-01",
"_weekday": "Sun"
},
{
"date": "2020-05-31 00:00:00",
"start": "2020-05-30T21:00:00.000Z",
"end": "2020-05-31T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2020-06-01 00:00:00",
"start": "2020-05-31T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/FR-YT-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "easter 39",
"_weekday": "Thu"
},
{
"date": "2021-05-23 00:00:00",
"start": "2021-05-22T21:00:00.000Z",
"end": "2021-05-23T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2021-05-24 00:00:00",
"start": "2021-05-23T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/FR-YT-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
"rule": "sunday before 06-01",
"_weekday": "Sun"
},
{
"date": "2022-06-05 00:00:00",
"start": "2022-06-04T21:00:00.000Z",
"end": "2022-06-05T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2022-06-06 00:00:00",
"start": "2022-06-05T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/FR-YT-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
"rule": "sunday before 06-01",
"_weekday": "Sun"
},
{
"date": "2023-05-28 00:00:00",
"start": "2023-05-27T21:00:00.000Z",
"end": "2023-05-28T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2023-05-29 00:00:00",
"start": "2023-05-28T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/FR-YT-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "easter 39",
"_weekday": "Thu"
},
{
"date": "2024-05-19 00:00:00",
"start": "2024-05-18T21:00:00.000Z",
"end": "2024-05-19T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2024-05-20 00:00:00",
"start": "2024-05-19T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/FR-YT-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
"rule": "easter 39",
"_weekday": "Thu"
},
{
"date": "2025-06-08 00:00:00",
"start": "2025-06-07T21:00:00.000Z",
"end": "2025-06-08T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2025-06-09 00:00:00",
"start": "2025-06-08T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/YT-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "easter 39",
"_weekday": "Thu"
},
{
"date": "2015-05-24 00:00:00",
"start": "2015-05-23T21:00:00.000Z",
"end": "2015-05-24T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2015-05-25 00:00:00",
"start": "2015-05-24T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/YT-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "05-08",
"_weekday": "Sun"
},
{
"date": "2016-05-15 00:00:00",
"start": "2016-05-14T21:00:00.000Z",
"end": "2016-05-15T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2016-05-16 00:00:00",
"start": "2016-05-15T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/YT-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
"rule": "sunday before 06-01",
"_weekday": "Sun"
},
{
"date": "2017-06-04 00:00:00",
"start": "2017-06-03T21:00:00.000Z",
"end": "2017-06-04T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2017-06-05 00:00:00",
"start": "2017-06-04T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/YT-2018.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "easter 39",
"_weekday": "Thu"
},
{
"date": "2018-05-20 00:00:00",
"start": "2018-05-19T21:00:00.000Z",
"end": "2018-05-20T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2018-05-21 00:00:00",
"start": "2018-05-20T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/YT-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
"rule": "easter 39",
"_weekday": "Thu"
},
{
"date": "2019-06-09 00:00:00",
"start": "2019-06-08T21:00:00.000Z",
"end": "2019-06-09T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2019-06-10 00:00:00",
"start": "2019-06-09T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/YT-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
"rule": "sunday before 06-01",
"_weekday": "Sun"
},
{
"date": "2020-05-31 00:00:00",
"start": "2020-05-30T21:00:00.000Z",
"end": "2020-05-31T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2020-06-01 00:00:00",
"start": "2020-05-31T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/YT-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "easter 39",
"_weekday": "Thu"
},
{
"date": "2021-05-23 00:00:00",
"start": "2021-05-22T21:00:00.000Z",
"end": "2021-05-23T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2021-05-24 00:00:00",
"start": "2021-05-23T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/YT-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
"rule": "sunday before 06-01",
"_weekday": "Sun"
},
{
"date": "2022-06-05 00:00:00",
"start": "2022-06-04T21:00:00.000Z",
"end": "2022-06-05T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2022-06-06 00:00:00",
"start": "2022-06-05T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/YT-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
"rule": "sunday before 06-01",
"_weekday": "Sun"
},
{
"date": "2023-05-28 00:00:00",
"start": "2023-05-27T21:00:00.000Z",
"end": "2023-05-28T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2023-05-29 00:00:00",
"start": "2023-05-28T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/YT-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "easter 39",
"_weekday": "Thu"
},
{
"date": "2024-05-19 00:00:00",
"start": "2024-05-18T21:00:00.000Z",
"end": "2024-05-19T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2024-05-20 00:00:00",
"start": "2024-05-19T21:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/YT-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
"rule": "easter 39",
"_weekday": "Thu"
},
{
"date": "2025-06-08 00:00:00",
"start": "2025-06-07T21:00:00.000Z",
"end": "2025-06-08T21:00:00.000Z",
"name": "Pentecôte",
"type": "public",
"rule": "easter 49",
"_weekday": "Sun"
},
{
"date": "2025-06-09 00:00:00",
"start": "2025-06-08T21:00:00.000Z",
Expand Down

0 comments on commit 5851850

Please sign in to comment.