Skip to content

Commit

Permalink
Merge pull request #479 from CrisBerriosL/chile-fix-june-solstice
Browse files Browse the repository at this point in the history
Changed CL Indigenous People's Day from fixed date june 21st to june solstice
  • Loading branch information
commenthol authored Nov 26, 2024
2 parents 65b10b7 + e8e98e1 commit 67ae01f
Show file tree
Hide file tree
Showing 50 changed files with 222 additions and 92 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
06-21 since 2023:
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: 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-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": "06-21 since 2021 prior to 2022",
"_weekday": "Mon"
},
{
"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 since 2022",
"_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 since 2022",
"_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 since 2022",
"_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 since 2022",
"_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 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": "06-21 since 2023",
"rule": "june solstice in America/Santiago since 2022",
"_weekday": "Mon"
},
{
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-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": "06-21 since 2021 prior to 2022",
"_weekday": "Mon"
},
{
"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 since 2022",
"_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 since 2022",
"_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 since 2022",
"_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 since 2022",
"_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 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": "06-21 since 2023",
"rule": "june solstice in America/Santiago since 2022",
"_weekday": "Mon"
},
{
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/CL-BI-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-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": "06-21 since 2021 prior to 2022",
"_weekday": "Mon"
},
{
"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-BI-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 since 2022",
"_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-BI-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 since 2022",
"_weekday": "Wed"
},
{
Expand Down
10 changes: 5 additions & 5 deletions test/fixtures/CL-BI-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 since 2022",
"_weekday": "Thu"
},
{
"date": "2024-06-29 00:00:00",
Expand Down
10 changes: 5 additions & 5 deletions test/fixtures/CL-BI-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 since 2022",
"_weekday": "Fri"
},
{
"date": "2025-06-29 00:00:00",
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-BI-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 since 2022",
"_weekday": "Sun"
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-BI-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 since 2022",
"_weekday": "Mon"
},
{
Expand Down
9 changes: 9 additions & 0 deletions test/fixtures/CL-BI-CH-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-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": "06-21 since 2021 prior to 2022",
"_weekday": "Mon"
},
{
"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-BI-CH-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 since 2022",
"_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-BI-CH-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 since 2022",
"_weekday": "Wed"
},
{
Expand Down
10 changes: 5 additions & 5 deletions test/fixtures/CL-BI-CH-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 since 2022",
"_weekday": "Thu"
},
{
"date": "2024-06-29 00:00:00",
Expand Down
10 changes: 5 additions & 5 deletions test/fixtures/CL-BI-CH-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 since 2022",
"_weekday": "Fri"
},
{
"date": "2025-06-29 00:00:00",
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/CL-BI-CH-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 since 2022",
"_weekday": "Sun"
},
{
Expand Down
Loading

0 comments on commit 67ae01f

Please sign in to comment.