Skip to content

Commit

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

0 comments on commit b9417a8

Please sign in to comment.