diff --git a/data/countries/ES.yaml b/data/countries/ES.yaml index 8fa7a7a38..c39fc4edc 100644 --- a/data/countries/ES.yaml +++ b/data/countries/ES.yaml @@ -8,6 +8,7 @@ holidays: # @source https://www.boe.es/boe/dias/2023/10/27/pdfs/BOE-A-2023-22014.pdf (2024) # @source https://www.boe.es/boe/dias/2024/10/18/pdfs/BOE-A-2024-21316.pdf (2025) # @source https://www.boe.es/boe/dias/2025/10/28/pdfs/BOE-A-2025-21667.pdf (2026) + # @source https://www.boe.es/boe/dias/2026/10/13/pdfs/BOE-A-2026-21254.pdf (2027) # @source https://www.boe.es/buscar/doc.php?id=BOE-A-2021-17113 # @source https://www.boe.es/buscar/act.php?id=BOE-A-1983-20906#art45 # buscar: "la relación de fiestas laborales para el año 20xx" @@ -156,16 +157,39 @@ holidays: days: easter -3: _name: easter -3 - 06-28: + disable: + - "2018-03-29" + 07-28: name: Día de las Instituciones de Cantabria 09-15: name: La Bien Aparecida substitutes 09-15 if Sunday then next Monday: name: La Bien Aparecida + disable: + - "2019-09-16" + - "2024-09-16" substitutes 12-06 if sunday then next monday: substitute: true name: es: Día de la Constitución Española + disable: + - "2020-12-07" + # Days chosen in years when other regional days fall on a Sunday + 2019-04-22: + _name: easter 1 + 2020-04-13: + _name: easter 1 + 2024-04-01: + _name: easter 1 + 2019-07-25: + name: + es: Santiago Apóstol + 2024-07-25: + name: + es: Santiago Apóstol + 2019-12-09: + substitute: true + _name: 12-08 CE: name: Ciudad de Ceuta days: @@ -417,6 +441,8 @@ holidays: days: 03-19: _name: 03-19 + disable: + - "2022-03-19" easter -3: _name: easter -3 substitutes 05-01 if Sunday then next Monday: @@ -426,6 +452,23 @@ holidays: substitute: true name: es: Día de la Constitución Española + 06-09: + name: + es: Día de la Región de Murcia + disable: + - "2019-06-09" + enable: + - "2019-06-10" + # Days chosen in years when other regional days fall on a Sunday + 2019-01-07: + substitute: true + _name: 01-06 + 2023-01-02: + substitute: true + _name: 01-01 + 2024-12-09: + substitute: true + _name: 12-08 MD: name: Comunidad de Madrid days: @@ -524,3 +567,16 @@ holidays: name: es: San Juan ca: Sant Joan + disable: + - "2027-06-24" + 10-09: + name: + es: Día de la Comunitat Valenciana + ca: Dia de la Comunitat Valenciana + substitutes 12-25 if sunday then next monday: + substitute: true + _name: 12-25 + disable: + - "2022-12-26" + 2022-04-14: + _name: easter -3 diff --git a/test/fixtures/ES-CB-2015.json b/test/fixtures/ES-CB-2015.json index cbfdf7cc9..1bf473436 100644 --- a/test/fixtures/ES-CB-2015.json +++ b/test/fixtures/ES-CB-2015.json @@ -81,13 +81,13 @@ "_weekday": "Sun" }, { - "date": "2015-06-28 00:00:00", - "start": "2015-06-27T22:00:00.000Z", - "end": "2015-06-28T22:00:00.000Z", + "date": "2015-07-28 00:00:00", + "start": "2015-07-27T22:00:00.000Z", + "end": "2015-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Sun" + "rule": "07-28", + "_weekday": "Tue" }, { "date": "2015-08-15 00:00:00", diff --git a/test/fixtures/ES-CB-2016.json b/test/fixtures/ES-CB-2016.json index dc082c0b1..98e40be47 100644 --- a/test/fixtures/ES-CB-2016.json +++ b/test/fixtures/ES-CB-2016.json @@ -81,13 +81,13 @@ "_weekday": "Sun" }, { - "date": "2016-06-28 00:00:00", - "start": "2016-06-27T22:00:00.000Z", - "end": "2016-06-28T22:00:00.000Z", + "date": "2016-07-28 00:00:00", + "start": "2016-07-27T22:00:00.000Z", + "end": "2016-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Tue" + "rule": "07-28", + "_weekday": "Thu" }, { "date": "2016-08-15 00:00:00", diff --git a/test/fixtures/ES-CB-2017.json b/test/fixtures/ES-CB-2017.json index 203070530..45b2b0d9e 100644 --- a/test/fixtures/ES-CB-2017.json +++ b/test/fixtures/ES-CB-2017.json @@ -91,13 +91,13 @@ "_weekday": "Sun" }, { - "date": "2017-06-28 00:00:00", - "start": "2017-06-27T22:00:00.000Z", - "end": "2017-06-28T22:00:00.000Z", + "date": "2017-07-28 00:00:00", + "start": "2017-07-27T22:00:00.000Z", + "end": "2017-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Wed" + "rule": "07-28", + "_weekday": "Fri" }, { "date": "2017-08-15 00:00:00", diff --git a/test/fixtures/ES-CB-2018.json b/test/fixtures/ES-CB-2018.json index 254e816b8..8f3d10ebd 100644 --- a/test/fixtures/ES-CB-2018.json +++ b/test/fixtures/ES-CB-2018.json @@ -26,15 +26,6 @@ "rule": "03-19", "_weekday": "Mon" }, - { - "date": "2018-03-29 00:00:00", - "start": "2018-03-28T22:00:00.000Z", - "end": "2018-03-29T22:00:00.000Z", - "name": "Jueves Santo", - "type": "public", - "rule": "easter -3", - "_weekday": "Thu" - }, { "date": "2018-03-30 00:00:00", "start": "2018-03-29T22:00:00.000Z", @@ -81,13 +72,13 @@ "_weekday": "Sun" }, { - "date": "2018-06-28 00:00:00", - "start": "2018-06-27T22:00:00.000Z", - "end": "2018-06-28T22:00:00.000Z", + "date": "2018-07-28 00:00:00", + "start": "2018-07-27T22:00:00.000Z", + "end": "2018-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Thu" + "rule": "07-28", + "_weekday": "Sat" }, { "date": "2018-08-15 00:00:00", diff --git a/test/fixtures/ES-CB-2019.json b/test/fixtures/ES-CB-2019.json index 967fd8b8d..a7bdc5563 100644 --- a/test/fixtures/ES-CB-2019.json +++ b/test/fixtures/ES-CB-2019.json @@ -63,6 +63,15 @@ "rule": "easter", "_weekday": "Sun" }, + { + "date": "2019-04-22 00:00:00", + "start": "2019-04-21T22:00:00.000Z", + "end": "2019-04-22T22:00:00.000Z", + "name": "Lunes de Pascua", + "type": "public", + "rule": "2019-04-22", + "_weekday": "Mon" + }, { "date": "2019-05-01 00:00:00", "start": "2019-04-30T22:00:00.000Z", @@ -91,13 +100,22 @@ "_weekday": "Sun" }, { - "date": "2019-06-28 00:00:00", - "start": "2019-06-27T22:00:00.000Z", - "end": "2019-06-28T22:00:00.000Z", + "date": "2019-07-25 00:00:00", + "start": "2019-07-24T22:00:00.000Z", + "end": "2019-07-25T22:00:00.000Z", + "name": "Santiago Apóstol", + "type": "public", + "rule": "2019-07-25", + "_weekday": "Thu" + }, + { + "date": "2019-07-28 00:00:00", + "start": "2019-07-27T22:00:00.000Z", + "end": "2019-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Fri" + "rule": "07-28", + "_weekday": "Sun" }, { "date": "2019-08-15 00:00:00", @@ -117,15 +135,6 @@ "rule": "09-15", "_weekday": "Sun" }, - { - "date": "2019-09-16 00:00:00", - "start": "2019-09-15T22:00:00.000Z", - "end": "2019-09-16T22:00:00.000Z", - "name": "La Bien Aparecida", - "type": "public", - "rule": "substitutes 09-15 if Sunday then next Monday", - "_weekday": "Mon" - }, { "date": "2019-10-12 00:00:00", "start": "2019-10-11T22:00:00.000Z", @@ -162,6 +171,15 @@ "rule": "12-08", "_weekday": "Sun" }, + { + "date": "2019-12-09 00:00:00", + "start": "2019-12-08T23:00:00.000Z", + "end": "2019-12-09T23:00:00.000Z", + "name": "La inmaculada concepción", + "type": "public", + "rule": "2019-12-09", + "_weekday": "Mon" + }, { "date": "2019-12-09 00:00:00", "start": "2019-12-08T23:00:00.000Z", diff --git a/test/fixtures/ES-CB-2020.json b/test/fixtures/ES-CB-2020.json index 3d9d8df79..6bb7f24b6 100644 --- a/test/fixtures/ES-CB-2020.json +++ b/test/fixtures/ES-CB-2020.json @@ -53,6 +53,15 @@ "rule": "easter", "_weekday": "Sun" }, + { + "date": "2020-04-13 00:00:00", + "start": "2020-04-12T22:00:00.000Z", + "end": "2020-04-13T22:00:00.000Z", + "name": "Lunes de Pascua", + "type": "public", + "rule": "2020-04-13", + "_weekday": "Mon" + }, { "date": "2020-05-01 00:00:00", "start": "2020-04-30T22:00:00.000Z", @@ -81,13 +90,13 @@ "_weekday": "Sun" }, { - "date": "2020-06-28 00:00:00", - "start": "2020-06-27T22:00:00.000Z", - "end": "2020-06-28T22:00:00.000Z", + "date": "2020-07-28 00:00:00", + "start": "2020-07-27T22:00:00.000Z", + "end": "2020-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Sun" + "rule": "07-28", + "_weekday": "Tue" }, { "date": "2020-08-15 00:00:00", @@ -134,16 +143,6 @@ "rule": "12-06", "_weekday": "Sun" }, - { - "date": "2020-12-07 00:00:00", - "start": "2020-12-06T23:00:00.000Z", - "end": "2020-12-07T23:00:00.000Z", - "name": "Día de la Constitución Española (día sustituto)", - "type": "public", - "substitute": true, - "rule": "substitutes 12-06 if sunday then next monday", - "_weekday": "Mon" - }, { "date": "2020-12-08 00:00:00", "start": "2020-12-07T23:00:00.000Z", diff --git a/test/fixtures/ES-CB-2021.json b/test/fixtures/ES-CB-2021.json index 634fd43a0..44ae4681b 100644 --- a/test/fixtures/ES-CB-2021.json +++ b/test/fixtures/ES-CB-2021.json @@ -81,13 +81,13 @@ "_weekday": "Sun" }, { - "date": "2021-06-28 00:00:00", - "start": "2021-06-27T22:00:00.000Z", - "end": "2021-06-28T22:00:00.000Z", + "date": "2021-07-28 00:00:00", + "start": "2021-07-27T22:00:00.000Z", + "end": "2021-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Mon" + "rule": "07-28", + "_weekday": "Wed" }, { "date": "2021-08-15 00:00:00", diff --git a/test/fixtures/ES-CB-2022.json b/test/fixtures/ES-CB-2022.json index 1c42cabeb..3bef972ae 100644 --- a/test/fixtures/ES-CB-2022.json +++ b/test/fixtures/ES-CB-2022.json @@ -81,13 +81,13 @@ "_weekday": "Sun" }, { - "date": "2022-06-28 00:00:00", - "start": "2022-06-27T22:00:00.000Z", - "end": "2022-06-28T22:00:00.000Z", + "date": "2022-07-28 00:00:00", + "start": "2022-07-27T22:00:00.000Z", + "end": "2022-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Tue" + "rule": "07-28", + "_weekday": "Thu" }, { "date": "2022-08-15 00:00:00", diff --git a/test/fixtures/ES-CB-2023.json b/test/fixtures/ES-CB-2023.json index 4d7735547..91f76a24b 100644 --- a/test/fixtures/ES-CB-2023.json +++ b/test/fixtures/ES-CB-2023.json @@ -91,13 +91,13 @@ "_weekday": "Sun" }, { - "date": "2023-06-28 00:00:00", - "start": "2023-06-27T22:00:00.000Z", - "end": "2023-06-28T22:00:00.000Z", + "date": "2023-07-28 00:00:00", + "start": "2023-07-27T22:00:00.000Z", + "end": "2023-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Wed" + "rule": "07-28", + "_weekday": "Fri" }, { "date": "2023-08-15 00:00:00", diff --git a/test/fixtures/ES-CB-2024.json b/test/fixtures/ES-CB-2024.json index f26551507..195787975 100644 --- a/test/fixtures/ES-CB-2024.json +++ b/test/fixtures/ES-CB-2024.json @@ -53,6 +53,15 @@ "rule": "easter", "_weekday": "Sun" }, + { + "date": "2024-04-01 00:00:00", + "start": "2024-03-31T22:00:00.000Z", + "end": "2024-04-01T22:00:00.000Z", + "name": "Lunes de Pascua", + "type": "public", + "rule": "2024-04-01", + "_weekday": "Mon" + }, { "date": "2024-05-01 00:00:00", "start": "2024-04-30T22:00:00.000Z", @@ -81,13 +90,22 @@ "_weekday": "Sun" }, { - "date": "2024-06-28 00:00:00", - "start": "2024-06-27T22:00:00.000Z", - "end": "2024-06-28T22:00:00.000Z", + "date": "2024-07-25 00:00:00", + "start": "2024-07-24T22:00:00.000Z", + "end": "2024-07-25T22:00:00.000Z", + "name": "Santiago Apóstol", + "type": "public", + "rule": "2024-07-25", + "_weekday": "Thu" + }, + { + "date": "2024-07-28 00:00:00", + "start": "2024-07-27T22:00:00.000Z", + "end": "2024-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Fri" + "rule": "07-28", + "_weekday": "Sun" }, { "date": "2024-08-15 00:00:00", @@ -107,15 +125,6 @@ "rule": "09-15", "_weekday": "Sun" }, - { - "date": "2024-09-16 00:00:00", - "start": "2024-09-15T22:00:00.000Z", - "end": "2024-09-16T22:00:00.000Z", - "name": "La Bien Aparecida", - "type": "public", - "rule": "substitutes 09-15 if Sunday then next Monday", - "_weekday": "Mon" - }, { "date": "2024-10-12 00:00:00", "start": "2024-10-11T22:00:00.000Z", diff --git a/test/fixtures/ES-CB-2025.json b/test/fixtures/ES-CB-2025.json index 83d2e8b00..495ab901b 100644 --- a/test/fixtures/ES-CB-2025.json +++ b/test/fixtures/ES-CB-2025.json @@ -81,13 +81,13 @@ "_weekday": "Sun" }, { - "date": "2025-06-28 00:00:00", - "start": "2025-06-27T22:00:00.000Z", - "end": "2025-06-28T22:00:00.000Z", + "date": "2025-07-28 00:00:00", + "start": "2025-07-27T22:00:00.000Z", + "end": "2025-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Sat" + "rule": "07-28", + "_weekday": "Mon" }, { "date": "2025-08-15 00:00:00", diff --git a/test/fixtures/ES-CB-2026.json b/test/fixtures/ES-CB-2026.json index ee52e1089..94060622b 100644 --- a/test/fixtures/ES-CB-2026.json +++ b/test/fixtures/ES-CB-2026.json @@ -81,13 +81,13 @@ "_weekday": "Sun" }, { - "date": "2026-06-28 00:00:00", - "start": "2026-06-27T22:00:00.000Z", - "end": "2026-06-28T22:00:00.000Z", + "date": "2026-07-28 00:00:00", + "start": "2026-07-27T22:00:00.000Z", + "end": "2026-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Sun" + "rule": "07-28", + "_weekday": "Tue" }, { "date": "2026-08-15 00:00:00", diff --git a/test/fixtures/ES-CB-2027.json b/test/fixtures/ES-CB-2027.json index 0c99e6743..6c79c0967 100644 --- a/test/fixtures/ES-CB-2027.json +++ b/test/fixtures/ES-CB-2027.json @@ -81,13 +81,13 @@ "_weekday": "Sun" }, { - "date": "2027-06-28 00:00:00", - "start": "2027-06-27T22:00:00.000Z", - "end": "2027-06-28T22:00:00.000Z", + "date": "2027-07-28 00:00:00", + "start": "2027-07-27T22:00:00.000Z", + "end": "2027-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Mon" + "rule": "07-28", + "_weekday": "Wed" }, { "date": "2027-08-15 00:00:00", diff --git a/test/fixtures/ES-CB-2028.json b/test/fixtures/ES-CB-2028.json index 5ed79dd68..8e96850f9 100644 --- a/test/fixtures/ES-CB-2028.json +++ b/test/fixtures/ES-CB-2028.json @@ -81,13 +81,13 @@ "_weekday": "Sun" }, { - "date": "2028-06-28 00:00:00", - "start": "2028-06-27T22:00:00.000Z", - "end": "2028-06-28T22:00:00.000Z", + "date": "2028-07-28 00:00:00", + "start": "2028-07-27T22:00:00.000Z", + "end": "2028-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Wed" + "rule": "07-28", + "_weekday": "Fri" }, { "date": "2028-08-15 00:00:00", diff --git a/test/fixtures/ES-CB-2029.json b/test/fixtures/ES-CB-2029.json index a15ee729c..9c94d4567 100644 --- a/test/fixtures/ES-CB-2029.json +++ b/test/fixtures/ES-CB-2029.json @@ -81,13 +81,13 @@ "_weekday": "Sun" }, { - "date": "2029-06-28 00:00:00", - "start": "2029-06-27T22:00:00.000Z", - "end": "2029-06-28T22:00:00.000Z", + "date": "2029-07-28 00:00:00", + "start": "2029-07-27T22:00:00.000Z", + "end": "2029-07-28T22:00:00.000Z", "name": "Día de las Instituciones de Cantabria", "type": "public", - "rule": "06-28", - "_weekday": "Thu" + "rule": "07-28", + "_weekday": "Sat" }, { "date": "2029-08-15 00:00:00", diff --git a/test/fixtures/ES-MC-2015.json b/test/fixtures/ES-MC-2015.json index 9eb8acfde..921bb321d 100644 --- a/test/fixtures/ES-MC-2015.json +++ b/test/fixtures/ES-MC-2015.json @@ -80,6 +80,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2015-06-09 00:00:00", + "start": "2015-06-08T22:00:00.000Z", + "end": "2015-06-09T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Tue" + }, { "date": "2015-08-15 00:00:00", "start": "2015-08-14T22:00:00.000Z", diff --git a/test/fixtures/ES-MC-2016.json b/test/fixtures/ES-MC-2016.json index 3dacb28f6..16e831b29 100644 --- a/test/fixtures/ES-MC-2016.json +++ b/test/fixtures/ES-MC-2016.json @@ -90,6 +90,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2016-06-09 00:00:00", + "start": "2016-06-08T22:00:00.000Z", + "end": "2016-06-09T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Thu" + }, { "date": "2016-08-15 00:00:00", "start": "2016-08-14T22:00:00.000Z", diff --git a/test/fixtures/ES-MC-2017.json b/test/fixtures/ES-MC-2017.json index 14f5936f2..84eb2863d 100644 --- a/test/fixtures/ES-MC-2017.json +++ b/test/fixtures/ES-MC-2017.json @@ -90,6 +90,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2017-06-09 00:00:00", + "start": "2017-06-08T22:00:00.000Z", + "end": "2017-06-09T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Fri" + }, { "date": "2017-08-15 00:00:00", "start": "2017-08-14T22:00:00.000Z", diff --git a/test/fixtures/ES-MC-2018.json b/test/fixtures/ES-MC-2018.json index 48ecca0cf..12a1b8307 100644 --- a/test/fixtures/ES-MC-2018.json +++ b/test/fixtures/ES-MC-2018.json @@ -80,6 +80,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2018-06-09 00:00:00", + "start": "2018-06-08T22:00:00.000Z", + "end": "2018-06-09T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Sat" + }, { "date": "2018-08-15 00:00:00", "start": "2018-08-14T22:00:00.000Z", diff --git a/test/fixtures/ES-MC-2019.json b/test/fixtures/ES-MC-2019.json index d2f6f8b0e..cb4f6301f 100644 --- a/test/fixtures/ES-MC-2019.json +++ b/test/fixtures/ES-MC-2019.json @@ -17,6 +17,15 @@ "rule": "01-06", "_weekday": "Sun" }, + { + "date": "2019-01-07 00:00:00", + "start": "2019-01-06T23:00:00.000Z", + "end": "2019-01-07T23:00:00.000Z", + "name": "Día de los Reyes Magos", + "type": "public", + "rule": "2019-01-07", + "_weekday": "Mon" + }, { "date": "2019-01-07 00:00:00", "start": "2019-01-06T23:00:00.000Z", @@ -90,6 +99,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2019-06-10 00:00:00", + "start": "2019-06-09T22:00:00.000Z", + "end": "2019-06-10T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Mon" + }, { "date": "2019-08-15 00:00:00", "start": "2019-08-14T22:00:00.000Z", diff --git a/test/fixtures/ES-MC-2020.json b/test/fixtures/ES-MC-2020.json index 8bd98a8dd..919807f7e 100644 --- a/test/fixtures/ES-MC-2020.json +++ b/test/fixtures/ES-MC-2020.json @@ -80,6 +80,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2020-06-09 00:00:00", + "start": "2020-06-08T22:00:00.000Z", + "end": "2020-06-09T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Tue" + }, { "date": "2020-08-15 00:00:00", "start": "2020-08-14T22:00:00.000Z", diff --git a/test/fixtures/ES-MC-2021.json b/test/fixtures/ES-MC-2021.json index 162e858f2..ae66d8d50 100644 --- a/test/fixtures/ES-MC-2021.json +++ b/test/fixtures/ES-MC-2021.json @@ -80,6 +80,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2021-06-09 00:00:00", + "start": "2021-06-08T22:00:00.000Z", + "end": "2021-06-09T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Wed" + }, { "date": "2021-08-15 00:00:00", "start": "2021-08-14T22:00:00.000Z", diff --git a/test/fixtures/ES-MC-2022.json b/test/fixtures/ES-MC-2022.json index b65af0665..4213c9c95 100644 --- a/test/fixtures/ES-MC-2022.json +++ b/test/fixtures/ES-MC-2022.json @@ -17,15 +17,6 @@ "rule": "01-06", "_weekday": "Thu" }, - { - "date": "2022-03-19 00:00:00", - "start": "2022-03-18T23:00:00.000Z", - "end": "2022-03-19T23:00:00.000Z", - "name": "San José", - "type": "public", - "rule": "03-19", - "_weekday": "Sat" - }, { "date": "2022-04-14 00:00:00", "start": "2022-04-13T22:00:00.000Z", @@ -90,6 +81,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2022-06-09 00:00:00", + "start": "2022-06-08T22:00:00.000Z", + "end": "2022-06-09T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Thu" + }, { "date": "2022-08-15 00:00:00", "start": "2022-08-14T22:00:00.000Z", diff --git a/test/fixtures/ES-MC-2023.json b/test/fixtures/ES-MC-2023.json index a3946611e..e30a2a905 100644 --- a/test/fixtures/ES-MC-2023.json +++ b/test/fixtures/ES-MC-2023.json @@ -8,6 +8,15 @@ "rule": "01-01", "_weekday": "Sun" }, + { + "date": "2023-01-02 00:00:00", + "start": "2023-01-01T23:00:00.000Z", + "end": "2023-01-02T23:00:00.000Z", + "name": "Año Nuevo", + "type": "public", + "rule": "2023-01-02", + "_weekday": "Mon" + }, { "date": "2023-01-02 00:00:00", "start": "2023-01-01T23:00:00.000Z", @@ -90,6 +99,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2023-06-09 00:00:00", + "start": "2023-06-08T22:00:00.000Z", + "end": "2023-06-09T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Fri" + }, { "date": "2023-08-15 00:00:00", "start": "2023-08-14T22:00:00.000Z", diff --git a/test/fixtures/ES-MC-2024.json b/test/fixtures/ES-MC-2024.json index 4ec446c0c..fdbbb68b7 100644 --- a/test/fixtures/ES-MC-2024.json +++ b/test/fixtures/ES-MC-2024.json @@ -80,6 +80,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2024-06-09 00:00:00", + "start": "2024-06-08T22:00:00.000Z", + "end": "2024-06-09T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Sun" + }, { "date": "2024-08-15 00:00:00", "start": "2024-08-14T22:00:00.000Z", @@ -125,6 +134,15 @@ "rule": "12-08", "_weekday": "Sun" }, + { + "date": "2024-12-09 00:00:00", + "start": "2024-12-08T23:00:00.000Z", + "end": "2024-12-09T23:00:00.000Z", + "name": "La inmaculada concepción", + "type": "public", + "rule": "2024-12-09", + "_weekday": "Mon" + }, { "date": "2024-12-09 00:00:00", "start": "2024-12-08T23:00:00.000Z", diff --git a/test/fixtures/ES-MC-2025.json b/test/fixtures/ES-MC-2025.json index ddad373d9..d3ec206a8 100644 --- a/test/fixtures/ES-MC-2025.json +++ b/test/fixtures/ES-MC-2025.json @@ -80,6 +80,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2025-06-09 00:00:00", + "start": "2025-06-08T22:00:00.000Z", + "end": "2025-06-09T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Mon" + }, { "date": "2025-08-15 00:00:00", "start": "2025-08-14T22:00:00.000Z", diff --git a/test/fixtures/ES-MC-2026.json b/test/fixtures/ES-MC-2026.json index 36467f4b3..71e8c564e 100644 --- a/test/fixtures/ES-MC-2026.json +++ b/test/fixtures/ES-MC-2026.json @@ -80,6 +80,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2026-06-09 00:00:00", + "start": "2026-06-08T22:00:00.000Z", + "end": "2026-06-09T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Tue" + }, { "date": "2026-08-15 00:00:00", "start": "2026-08-14T22:00:00.000Z", diff --git a/test/fixtures/ES-MC-2027.json b/test/fixtures/ES-MC-2027.json index e39998e2b..b547dedc0 100644 --- a/test/fixtures/ES-MC-2027.json +++ b/test/fixtures/ES-MC-2027.json @@ -80,6 +80,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2027-06-09 00:00:00", + "start": "2027-06-08T22:00:00.000Z", + "end": "2027-06-09T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Wed" + }, { "date": "2027-08-15 00:00:00", "start": "2027-08-14T22:00:00.000Z", diff --git a/test/fixtures/ES-MC-2028.json b/test/fixtures/ES-MC-2028.json index f33c3c68a..cd5f583cf 100644 --- a/test/fixtures/ES-MC-2028.json +++ b/test/fixtures/ES-MC-2028.json @@ -80,6 +80,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2028-06-09 00:00:00", + "start": "2028-06-08T22:00:00.000Z", + "end": "2028-06-09T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Fri" + }, { "date": "2028-08-15 00:00:00", "start": "2028-08-14T22:00:00.000Z", diff --git a/test/fixtures/ES-MC-2029.json b/test/fixtures/ES-MC-2029.json index 81b05a9d2..7e2b46dc0 100644 --- a/test/fixtures/ES-MC-2029.json +++ b/test/fixtures/ES-MC-2029.json @@ -80,6 +80,15 @@ "rule": "easter 49", "_weekday": "Sun" }, + { + "date": "2029-06-09 00:00:00", + "start": "2029-06-08T22:00:00.000Z", + "end": "2029-06-09T22:00:00.000Z", + "name": "Día de la Región de Murcia", + "type": "public", + "rule": "06-09", + "_weekday": "Sat" + }, { "date": "2029-08-15 00:00:00", "start": "2029-08-14T22:00:00.000Z", diff --git a/test/fixtures/ES-VC-2015.json b/test/fixtures/ES-VC-2015.json index 517322695..820a1659d 100644 --- a/test/fixtures/ES-VC-2015.json +++ b/test/fixtures/ES-VC-2015.json @@ -98,6 +98,15 @@ "rule": "08-15", "_weekday": "Sat" }, + { + "date": "2015-10-09 00:00:00", + "start": "2015-10-08T22:00:00.000Z", + "end": "2015-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Fri" + }, { "date": "2015-10-12 00:00:00", "start": "2015-10-11T22:00:00.000Z", diff --git a/test/fixtures/ES-VC-2016.json b/test/fixtures/ES-VC-2016.json index aaa8cf8b5..26fa06075 100644 --- a/test/fixtures/ES-VC-2016.json +++ b/test/fixtures/ES-VC-2016.json @@ -98,6 +98,15 @@ "rule": "08-15", "_weekday": "Mon" }, + { + "date": "2016-10-09 00:00:00", + "start": "2016-10-08T22:00:00.000Z", + "end": "2016-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Sun" + }, { "date": "2016-10-12 00:00:00", "start": "2016-10-11T22:00:00.000Z", diff --git a/test/fixtures/ES-VC-2017.json b/test/fixtures/ES-VC-2017.json index bff43bd69..a58a36023 100644 --- a/test/fixtures/ES-VC-2017.json +++ b/test/fixtures/ES-VC-2017.json @@ -108,6 +108,15 @@ "rule": "08-15", "_weekday": "Tue" }, + { + "date": "2017-10-09 00:00:00", + "start": "2017-10-08T22:00:00.000Z", + "end": "2017-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Mon" + }, { "date": "2017-10-12 00:00:00", "start": "2017-10-11T22:00:00.000Z", diff --git a/test/fixtures/ES-VC-2018.json b/test/fixtures/ES-VC-2018.json index 759033f4f..7f69bd909 100644 --- a/test/fixtures/ES-VC-2018.json +++ b/test/fixtures/ES-VC-2018.json @@ -98,6 +98,15 @@ "rule": "08-15", "_weekday": "Wed" }, + { + "date": "2018-10-09 00:00:00", + "start": "2018-10-08T22:00:00.000Z", + "end": "2018-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Tue" + }, { "date": "2018-10-12 00:00:00", "start": "2018-10-11T22:00:00.000Z", diff --git a/test/fixtures/ES-VC-2019.json b/test/fixtures/ES-VC-2019.json index f6c0899f5..71c9af0f9 100644 --- a/test/fixtures/ES-VC-2019.json +++ b/test/fixtures/ES-VC-2019.json @@ -108,6 +108,15 @@ "rule": "08-15", "_weekday": "Thu" }, + { + "date": "2019-10-09 00:00:00", + "start": "2019-10-08T22:00:00.000Z", + "end": "2019-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Wed" + }, { "date": "2019-10-12 00:00:00", "start": "2019-10-11T22:00:00.000Z", diff --git a/test/fixtures/ES-VC-2020.json b/test/fixtures/ES-VC-2020.json index 8778d093e..cfa72e7ad 100644 --- a/test/fixtures/ES-VC-2020.json +++ b/test/fixtures/ES-VC-2020.json @@ -98,6 +98,15 @@ "rule": "08-15", "_weekday": "Sat" }, + { + "date": "2020-10-09 00:00:00", + "start": "2020-10-08T22:00:00.000Z", + "end": "2020-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Fri" + }, { "date": "2020-10-12 00:00:00", "start": "2020-10-11T22:00:00.000Z", diff --git a/test/fixtures/ES-VC-2021.json b/test/fixtures/ES-VC-2021.json index 54de33c07..b6c868957 100644 --- a/test/fixtures/ES-VC-2021.json +++ b/test/fixtures/ES-VC-2021.json @@ -98,6 +98,15 @@ "rule": "08-15", "_weekday": "Sun" }, + { + "date": "2021-10-09 00:00:00", + "start": "2021-10-08T22:00:00.000Z", + "end": "2021-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Sat" + }, { "date": "2021-10-12 00:00:00", "start": "2021-10-11T22:00:00.000Z", diff --git a/test/fixtures/ES-VC-2022.json b/test/fixtures/ES-VC-2022.json index 7fc288d74..7b97032f2 100644 --- a/test/fixtures/ES-VC-2022.json +++ b/test/fixtures/ES-VC-2022.json @@ -26,6 +26,15 @@ "rule": "03-19", "_weekday": "Sat" }, + { + "date": "2022-04-14 00:00:00", + "start": "2022-04-13T22:00:00.000Z", + "end": "2022-04-14T22:00:00.000Z", + "name": "Jueves Santo", + "type": "public", + "rule": "2022-04-14", + "_weekday": "Thu" + }, { "date": "2022-04-15 00:00:00", "start": "2022-04-14T22:00:00.000Z", @@ -98,6 +107,15 @@ "rule": "08-15", "_weekday": "Mon" }, + { + "date": "2022-10-09 00:00:00", + "start": "2022-10-08T22:00:00.000Z", + "end": "2022-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Sun" + }, { "date": "2022-10-12 00:00:00", "start": "2022-10-11T22:00:00.000Z", @@ -142,15 +160,5 @@ "type": "public", "rule": "12-25", "_weekday": "Sun" - }, - { - "date": "2022-12-26 00:00:00", - "start": "2022-12-25T23:00:00.000Z", - "end": "2022-12-26T23:00:00.000Z", - "name": "Navidad (día sustituto)", - "type": "public", - "substitute": true, - "rule": "substitutes 12-25 if sunday then next monday", - "_weekday": "Mon" } ] \ No newline at end of file diff --git a/test/fixtures/ES-VC-2023.json b/test/fixtures/ES-VC-2023.json index cea18dd35..c19ac3ed1 100644 --- a/test/fixtures/ES-VC-2023.json +++ b/test/fixtures/ES-VC-2023.json @@ -108,6 +108,15 @@ "rule": "08-15", "_weekday": "Tue" }, + { + "date": "2023-10-09 00:00:00", + "start": "2023-10-08T22:00:00.000Z", + "end": "2023-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Mon" + }, { "date": "2023-10-12 00:00:00", "start": "2023-10-11T22:00:00.000Z", diff --git a/test/fixtures/ES-VC-2024.json b/test/fixtures/ES-VC-2024.json index 76ec198b1..ad7690ff6 100644 --- a/test/fixtures/ES-VC-2024.json +++ b/test/fixtures/ES-VC-2024.json @@ -98,6 +98,15 @@ "rule": "08-15", "_weekday": "Thu" }, + { + "date": "2024-10-09 00:00:00", + "start": "2024-10-08T22:00:00.000Z", + "end": "2024-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Wed" + }, { "date": "2024-10-12 00:00:00", "start": "2024-10-11T22:00:00.000Z", diff --git a/test/fixtures/ES-VC-2025.json b/test/fixtures/ES-VC-2025.json index 166eef020..d12eebd9f 100644 --- a/test/fixtures/ES-VC-2025.json +++ b/test/fixtures/ES-VC-2025.json @@ -98,6 +98,15 @@ "rule": "08-15", "_weekday": "Fri" }, + { + "date": "2025-10-09 00:00:00", + "start": "2025-10-08T22:00:00.000Z", + "end": "2025-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Thu" + }, { "date": "2025-10-12 00:00:00", "start": "2025-10-11T22:00:00.000Z", diff --git a/test/fixtures/ES-VC-2026.json b/test/fixtures/ES-VC-2026.json index a3b69efc6..6a588edb1 100644 --- a/test/fixtures/ES-VC-2026.json +++ b/test/fixtures/ES-VC-2026.json @@ -98,6 +98,15 @@ "rule": "08-15", "_weekday": "Sat" }, + { + "date": "2026-10-09 00:00:00", + "start": "2026-10-08T22:00:00.000Z", + "end": "2026-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Fri" + }, { "date": "2026-10-12 00:00:00", "start": "2026-10-11T22:00:00.000Z", diff --git a/test/fixtures/ES-VC-2027.json b/test/fixtures/ES-VC-2027.json index 20e782b4e..ee5d88a3c 100644 --- a/test/fixtures/ES-VC-2027.json +++ b/test/fixtures/ES-VC-2027.json @@ -80,15 +80,6 @@ "rule": "easter 49", "_weekday": "Sun" }, - { - "date": "2027-06-24 00:00:00", - "start": "2027-06-23T22:00:00.000Z", - "end": "2027-06-24T22:00:00.000Z", - "name": "San Juan", - "type": "public", - "rule": "06-24", - "_weekday": "Thu" - }, { "date": "2027-08-15 00:00:00", "start": "2027-08-14T22:00:00.000Z", @@ -98,6 +89,15 @@ "rule": "08-15", "_weekday": "Sun" }, + { + "date": "2027-10-09 00:00:00", + "start": "2027-10-08T22:00:00.000Z", + "end": "2027-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Sat" + }, { "date": "2027-10-12 00:00:00", "start": "2027-10-11T22:00:00.000Z", diff --git a/test/fixtures/ES-VC-2028.json b/test/fixtures/ES-VC-2028.json index 70c30b0d4..b13e3a041 100644 --- a/test/fixtures/ES-VC-2028.json +++ b/test/fixtures/ES-VC-2028.json @@ -98,6 +98,15 @@ "rule": "08-15", "_weekday": "Tue" }, + { + "date": "2028-10-09 00:00:00", + "start": "2028-10-08T22:00:00.000Z", + "end": "2028-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Mon" + }, { "date": "2028-10-12 00:00:00", "start": "2028-10-11T22:00:00.000Z", diff --git a/test/fixtures/ES-VC-2029.json b/test/fixtures/ES-VC-2029.json index a91d01c44..8cd1531ee 100644 --- a/test/fixtures/ES-VC-2029.json +++ b/test/fixtures/ES-VC-2029.json @@ -98,6 +98,15 @@ "rule": "08-15", "_weekday": "Wed" }, + { + "date": "2029-10-09 00:00:00", + "start": "2029-10-08T22:00:00.000Z", + "end": "2029-10-09T22:00:00.000Z", + "name": "Día de la Comunitat Valenciana", + "type": "public", + "rule": "10-09", + "_weekday": "Tue" + }, { "date": "2029-10-12 00:00:00", "start": "2029-10-11T22:00:00.000Z",