Skip to content

Commit

Permalink
chore: enable june solstice holiday since 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
CholgaMan1 committed Jun 11, 2024
1 parent b9417a8 commit e8e98e1
Show file tree
Hide file tree
Showing 92 changed files with 82 additions and 456 deletions.
6 changes: 5 additions & 1 deletion data/countries/CL.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ holidays:
name:
en: Navy Day
es: Día de las Glorias Navales
june solstice in America/Santiago:
06-21 since 2021 prior to 2022:
name:
en: Indigenous People's Day
es: Día de los Pueblos Indígenas
june solstice in America/Santiago since 2022:
name:
en: Indigenous People's Day
es: Día de los Pueblos Indígenas
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@
"rule": "05-21",
"_weekday": "Thu"
},
{
"date": "2015-06-21 00:00:00",
"start": "2015-06-21T03:00:00.000Z",
"end": "2015-06-22T03:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Sun"
},
{
"date": "2015-06-29 00:00:00",
"start": "2015-06-29T03:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@
"rule": "05-21",
"_weekday": "Sat"
},
{
"date": "2016-06-20 00:00:00",
"start": "2016-06-20T04:00:00.000Z",
"end": "2016-06-21T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Mon"
},
{
"date": "2016-06-27 00:00:00",
"start": "2016-06-27T04:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "05-21",
"_weekday": "Sun"
},
{
"date": "2017-06-21 00:00:00",
"start": "2017-06-21T04:00:00.000Z",
"end": "2017-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Wed"
},
{
"date": "2017-06-26 00:00:00",
"start": "2017-06-26T04:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-2018.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@
"rule": "05-21",
"_weekday": "Mon"
},
{
"date": "2018-06-21 00:00:00",
"start": "2018-06-21T04:00:00.000Z",
"end": "2018-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Thu"
},
{
"date": "2018-07-02 00:00:00",
"start": "2018-07-02T04:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@
"rule": "05-21",
"_weekday": "Tue"
},
{
"date": "2019-06-21 00:00:00",
"start": "2019-06-21T04:00:00.000Z",
"end": "2019-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Fri"
},
{
"date": "2019-06-29 00:00:00",
"start": "2019-06-29T04:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@
"rule": "05-21",
"_weekday": "Thu"
},
{
"date": "2020-06-20 00:00:00",
"start": "2020-06-20T04:00:00.000Z",
"end": "2020-06-21T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Sat"
},
{
"date": "2020-06-29 00:00:00",
"start": "2020-06-29T04:00:00.000Z",
Expand Down
10 changes: 5 additions & 5 deletions test/fixtures/CL-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
"_weekday": "Fri"
},
{
"date": "2021-06-20 00:00:00",
"start": "2021-06-20T04:00:00.000Z",
"end": "2021-06-21T04:00:00.000Z",
"date": "2021-06-21 00:00:00",
"start": "2021-06-21T04:00:00.000Z",
"end": "2021-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Sun"
"rule": "06-21 since 2021 prior to 2022",
"_weekday": "Mon"
},
{
"date": "2021-06-28 00:00:00",
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"end": "2022-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"rule": "june solstice in America/Santiago since 2022",
"_weekday": "Tue"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"end": "2023-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"rule": "june solstice in America/Santiago since 2022",
"_weekday": "Wed"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"end": "2024-06-21T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"rule": "june solstice in America/Santiago since 2022",
"_weekday": "Thu"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"end": "2025-06-21T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"rule": "june solstice in America/Santiago since 2022",
"_weekday": "Fri"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"end": "2026-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"rule": "june solstice in America/Santiago since 2022",
"_weekday": "Sun"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"end": "2027-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"rule": "june solstice in America/Santiago since 2022",
"_weekday": "Mon"
},
{
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-AP-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "06-07",
"_weekday": "Sun"
},
{
"date": "2015-06-21 00:00:00",
"start": "2015-06-21T03:00:00.000Z",
"end": "2015-06-22T03:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Sun"
},
{
"date": "2015-06-29 00:00:00",
"start": "2015-06-29T03:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-AP-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "06-07",
"_weekday": "Tue"
},
{
"date": "2016-06-20 00:00:00",
"start": "2016-06-20T04:00:00.000Z",
"end": "2016-06-21T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Mon"
},
{
"date": "2016-06-27 00:00:00",
"start": "2016-06-27T04:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-AP-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
"rule": "06-07",
"_weekday": "Wed"
},
{
"date": "2017-06-21 00:00:00",
"start": "2017-06-21T04:00:00.000Z",
"end": "2017-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Wed"
},
{
"date": "2017-06-26 00:00:00",
"start": "2017-06-26T04:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-AP-2018.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "06-07",
"_weekday": "Thu"
},
{
"date": "2018-06-21 00:00:00",
"start": "2018-06-21T04:00:00.000Z",
"end": "2018-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Thu"
},
{
"date": "2018-07-02 00:00:00",
"start": "2018-07-02T04:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-AP-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "06-07",
"_weekday": "Fri"
},
{
"date": "2019-06-21 00:00:00",
"start": "2019-06-21T04:00:00.000Z",
"end": "2019-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Fri"
},
{
"date": "2019-06-29 00:00:00",
"start": "2019-06-29T04:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-AP-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "06-07",
"_weekday": "Sun"
},
{
"date": "2020-06-20 00:00:00",
"start": "2020-06-20T04:00:00.000Z",
"end": "2020-06-21T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Sat"
},
{
"date": "2020-06-29 00:00:00",
"start": "2020-06-29T04:00:00.000Z",
Expand Down
10 changes: 5 additions & 5 deletions test/fixtures/CL-AP-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
"_weekday": "Mon"
},
{
"date": "2021-06-20 00:00:00",
"start": "2021-06-20T04:00:00.000Z",
"end": "2021-06-21T04:00:00.000Z",
"date": "2021-06-21 00:00:00",
"start": "2021-06-21T04:00:00.000Z",
"end": "2021-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Sun"
"rule": "06-21 since 2021 prior to 2022",
"_weekday": "Mon"
},
{
"date": "2021-06-28 00:00:00",
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-AP-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"end": "2022-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"rule": "june solstice in America/Santiago since 2022",
"_weekday": "Tue"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-AP-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"end": "2023-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"rule": "june solstice in America/Santiago since 2022",
"_weekday": "Wed"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-AP-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"end": "2024-06-21T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"rule": "june solstice in America/Santiago since 2022",
"_weekday": "Thu"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-AP-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"end": "2025-06-21T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"rule": "june solstice in America/Santiago since 2022",
"_weekday": "Fri"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-AP-2026.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"end": "2026-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"rule": "june solstice in America/Santiago since 2022",
"_weekday": "Sun"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-AP-2027.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"end": "2027-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"rule": "june solstice in America/Santiago since 2022",
"_weekday": "Mon"
},
{
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-BI-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@
"rule": "05-21",
"_weekday": "Thu"
},
{
"date": "2015-06-21 00:00:00",
"start": "2015-06-21T03:00:00.000Z",
"end": "2015-06-22T03:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Sun"
},
{
"date": "2015-06-29 00:00:00",
"start": "2015-06-29T03:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-BI-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@
"rule": "05-21",
"_weekday": "Sat"
},
{
"date": "2016-06-20 00:00:00",
"start": "2016-06-20T04:00:00.000Z",
"end": "2016-06-21T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Mon"
},
{
"date": "2016-06-27 00:00:00",
"start": "2016-06-27T04:00:00.000Z",
Expand Down
9 changes: 0 additions & 9 deletions test/fixtures/CL-BI-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@
"rule": "05-21",
"_weekday": "Sun"
},
{
"date": "2017-06-21 00:00:00",
"start": "2017-06-21T04:00:00.000Z",
"end": "2017-06-22T04:00:00.000Z",
"name": "Día de los Pueblos Indígenas",
"type": "public",
"rule": "june solstice in America/Santiago",
"_weekday": "Wed"
},
{
"date": "2017-06-26 00:00:00",
"start": "2017-06-26T04:00:00.000Z",
Expand Down
Loading

0 comments on commit e8e98e1

Please sign in to comment.