From 5ce0fefd912759ab880bbc606c7ba81074c69f4b Mon Sep 17 00:00:00 2001 From: Vansh Vats Date: Mon, 9 Nov 2026 13:26:04 +0530 Subject: [PATCH] fix: correct Cyprus public holidays --- data/countries/CY.yaml | 9 ++++----- test/fixtures/CY-2015.json | 20 ++++++++++---------- test/fixtures/CY-2016.json | 20 ++++++++++---------- test/fixtures/CY-2017.json | 20 ++++++++++---------- test/fixtures/CY-2018.json | 20 ++++++++++---------- test/fixtures/CY-2019.json | 20 ++++++++++---------- test/fixtures/CY-2020.json | 20 ++++++++++---------- test/fixtures/CY-2021.json | 20 ++++++++++---------- test/fixtures/CY-2022.json | 20 ++++++++++---------- test/fixtures/CY-2023.json | 20 ++++++++++---------- test/fixtures/CY-2024.json | 20 ++++++++++---------- test/fixtures/CY-2025.json | 20 ++++++++++---------- test/fixtures/CY-2026.json | 20 ++++++++++---------- test/fixtures/CY-2027.json | 20 ++++++++++---------- test/fixtures/CY-2028.json | 20 ++++++++++---------- test/fixtures/CY-2029.json | 20 ++++++++++---------- 16 files changed, 154 insertions(+), 155 deletions(-) diff --git a/data/countries/CY.yaml b/data/countries/CY.yaml index 0ca21d29a..6faf337ed 100644 --- a/data/countries/CY.yaml +++ b/data/countries/CY.yaml @@ -15,11 +15,6 @@ holidays: 01-06: _name: 01-06 orthodox -48: - name: - el: Καθαρά Δευτέρα - en: Ash Sunday - type: observance - orthodox -47: name: el: Καθαρά Δευτέρα en: Clean Monday @@ -41,6 +36,10 @@ holidays: _name: 05-01 orthodox 49: _name: easter 49 + orthodox 50: + _name: easter 50 + name: + en: Kataklysmos 2nd sunday in May: _name: Mothers Day type: observance diff --git a/test/fixtures/CY-2015.json b/test/fixtures/CY-2015.json index d9bb869a2..4555f33ee 100644 --- a/test/fixtures/CY-2015.json +++ b/test/fixtures/CY-2015.json @@ -22,19 +22,10 @@ "start": "2015-02-22T22:00:00.000Z", "end": "2015-02-23T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2015-02-24 00:00:00", - "start": "2015-02-23T22:00:00.000Z", - "end": "2015-02-24T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2015-03-25 00:00:00", "start": "2015-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2015-06-01 00:00:00", + "start": "2015-05-31T21:00:00.000Z", + "end": "2015-06-01T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2015-08-15 00:00:00", "start": "2015-08-14T21:00:00.000Z", diff --git a/test/fixtures/CY-2016.json b/test/fixtures/CY-2016.json index a9c4db0d6..a6cd4735a 100644 --- a/test/fixtures/CY-2016.json +++ b/test/fixtures/CY-2016.json @@ -22,19 +22,10 @@ "start": "2016-03-13T22:00:00.000Z", "end": "2016-03-14T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2016-03-15 00:00:00", - "start": "2016-03-14T22:00:00.000Z", - "end": "2016-03-15T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2016-03-25 00:00:00", "start": "2016-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2016-06-20 00:00:00", + "start": "2016-06-19T21:00:00.000Z", + "end": "2016-06-20T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2016-08-15 00:00:00", "start": "2016-08-14T21:00:00.000Z", diff --git a/test/fixtures/CY-2017.json b/test/fixtures/CY-2017.json index f875cd3b3..3d3c92de0 100644 --- a/test/fixtures/CY-2017.json +++ b/test/fixtures/CY-2017.json @@ -22,19 +22,10 @@ "start": "2017-02-26T22:00:00.000Z", "end": "2017-02-27T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2017-02-28 00:00:00", - "start": "2017-02-27T22:00:00.000Z", - "end": "2017-02-28T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2017-03-25 00:00:00", "start": "2017-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2017-06-05 00:00:00", + "start": "2017-06-04T21:00:00.000Z", + "end": "2017-06-05T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2017-08-15 00:00:00", "start": "2017-08-14T21:00:00.000Z", diff --git a/test/fixtures/CY-2018.json b/test/fixtures/CY-2018.json index 91efca23b..268d610f9 100644 --- a/test/fixtures/CY-2018.json +++ b/test/fixtures/CY-2018.json @@ -22,19 +22,10 @@ "start": "2018-02-18T22:00:00.000Z", "end": "2018-02-19T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2018-02-20 00:00:00", - "start": "2018-02-19T22:00:00.000Z", - "end": "2018-02-20T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2018-03-25 00:00:00", "start": "2018-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2018-05-28 00:00:00", + "start": "2018-05-27T21:00:00.000Z", + "end": "2018-05-28T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2018-08-15 00:00:00", "start": "2018-08-14T21:00:00.000Z", diff --git a/test/fixtures/CY-2019.json b/test/fixtures/CY-2019.json index 821fafe82..41d865c64 100644 --- a/test/fixtures/CY-2019.json +++ b/test/fixtures/CY-2019.json @@ -22,19 +22,10 @@ "start": "2019-03-10T22:00:00.000Z", "end": "2019-03-11T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2019-03-12 00:00:00", - "start": "2019-03-11T22:00:00.000Z", - "end": "2019-03-12T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2019-03-25 00:00:00", "start": "2019-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2019-06-17 00:00:00", + "start": "2019-06-16T21:00:00.000Z", + "end": "2019-06-17T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2019-08-15 00:00:00", "start": "2019-08-14T21:00:00.000Z", diff --git a/test/fixtures/CY-2020.json b/test/fixtures/CY-2020.json index 595da11fc..914228968 100644 --- a/test/fixtures/CY-2020.json +++ b/test/fixtures/CY-2020.json @@ -22,19 +22,10 @@ "start": "2020-03-01T22:00:00.000Z", "end": "2020-03-02T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2020-03-03 00:00:00", - "start": "2020-03-02T22:00:00.000Z", - "end": "2020-03-03T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2020-03-25 00:00:00", "start": "2020-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2020-06-08 00:00:00", + "start": "2020-06-07T21:00:00.000Z", + "end": "2020-06-08T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2020-08-15 00:00:00", "start": "2020-08-14T21:00:00.000Z", diff --git a/test/fixtures/CY-2021.json b/test/fixtures/CY-2021.json index c01d8e9eb..70afc6c3f 100644 --- a/test/fixtures/CY-2021.json +++ b/test/fixtures/CY-2021.json @@ -22,19 +22,10 @@ "start": "2021-03-14T22:00:00.000Z", "end": "2021-03-15T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2021-03-16 00:00:00", - "start": "2021-03-15T22:00:00.000Z", - "end": "2021-03-16T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2021-03-25 00:00:00", "start": "2021-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2021-06-21 00:00:00", + "start": "2021-06-20T21:00:00.000Z", + "end": "2021-06-21T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2021-08-15 00:00:00", "start": "2021-08-14T21:00:00.000Z", diff --git a/test/fixtures/CY-2022.json b/test/fixtures/CY-2022.json index 23e4ee20c..8d4a4dd39 100644 --- a/test/fixtures/CY-2022.json +++ b/test/fixtures/CY-2022.json @@ -22,19 +22,10 @@ "start": "2022-03-06T22:00:00.000Z", "end": "2022-03-07T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2022-03-08 00:00:00", - "start": "2022-03-07T22:00:00.000Z", - "end": "2022-03-08T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2022-03-25 00:00:00", "start": "2022-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2022-06-13 00:00:00", + "start": "2022-06-12T21:00:00.000Z", + "end": "2022-06-13T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2022-08-15 00:00:00", "start": "2022-08-14T21:00:00.000Z", diff --git a/test/fixtures/CY-2023.json b/test/fixtures/CY-2023.json index 1a94c4194..87e4408c8 100644 --- a/test/fixtures/CY-2023.json +++ b/test/fixtures/CY-2023.json @@ -22,19 +22,10 @@ "start": "2023-02-26T22:00:00.000Z", "end": "2023-02-27T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2023-02-28 00:00:00", - "start": "2023-02-27T22:00:00.000Z", - "end": "2023-02-28T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2023-03-25 00:00:00", "start": "2023-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2023-06-05 00:00:00", + "start": "2023-06-04T21:00:00.000Z", + "end": "2023-06-05T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2023-08-15 00:00:00", "start": "2023-08-14T21:00:00.000Z", diff --git a/test/fixtures/CY-2024.json b/test/fixtures/CY-2024.json index 27ce029e9..e25725582 100644 --- a/test/fixtures/CY-2024.json +++ b/test/fixtures/CY-2024.json @@ -22,19 +22,10 @@ "start": "2024-03-17T22:00:00.000Z", "end": "2024-03-18T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2024-03-19 00:00:00", - "start": "2024-03-18T22:00:00.000Z", - "end": "2024-03-19T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2024-03-25 00:00:00", "start": "2024-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2024-06-24 00:00:00", + "start": "2024-06-23T21:00:00.000Z", + "end": "2024-06-24T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2024-08-15 00:00:00", "start": "2024-08-14T21:00:00.000Z", diff --git a/test/fixtures/CY-2025.json b/test/fixtures/CY-2025.json index 0b1c4bc6b..c99089662 100644 --- a/test/fixtures/CY-2025.json +++ b/test/fixtures/CY-2025.json @@ -22,19 +22,10 @@ "start": "2025-03-02T22:00:00.000Z", "end": "2025-03-03T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2025-03-04 00:00:00", - "start": "2025-03-03T22:00:00.000Z", - "end": "2025-03-04T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2025-03-25 00:00:00", "start": "2025-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2025-06-09 00:00:00", + "start": "2025-06-08T21:00:00.000Z", + "end": "2025-06-09T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2025-08-15 00:00:00", "start": "2025-08-14T21:00:00.000Z", diff --git a/test/fixtures/CY-2026.json b/test/fixtures/CY-2026.json index 69e6c070e..cb06ee233 100644 --- a/test/fixtures/CY-2026.json +++ b/test/fixtures/CY-2026.json @@ -22,19 +22,10 @@ "start": "2026-02-22T22:00:00.000Z", "end": "2026-02-23T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2026-02-24 00:00:00", - "start": "2026-02-23T22:00:00.000Z", - "end": "2026-02-24T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2026-03-25 00:00:00", "start": "2026-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2026-06-01 00:00:00", + "start": "2026-05-31T21:00:00.000Z", + "end": "2026-06-01T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2026-08-15 00:00:00", "start": "2026-08-14T21:00:00.000Z", diff --git a/test/fixtures/CY-2027.json b/test/fixtures/CY-2027.json index 19bc65b5f..76efef2ae 100644 --- a/test/fixtures/CY-2027.json +++ b/test/fixtures/CY-2027.json @@ -22,19 +22,10 @@ "start": "2027-03-14T22:00:00.000Z", "end": "2027-03-15T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2027-03-16 00:00:00", - "start": "2027-03-15T22:00:00.000Z", - "end": "2027-03-16T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2027-03-25 00:00:00", "start": "2027-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2027-06-21 00:00:00", + "start": "2027-06-20T21:00:00.000Z", + "end": "2027-06-21T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2027-08-15 00:00:00", "start": "2027-08-14T21:00:00.000Z", diff --git a/test/fixtures/CY-2028.json b/test/fixtures/CY-2028.json index b8e797f88..060f62577 100644 --- a/test/fixtures/CY-2028.json +++ b/test/fixtures/CY-2028.json @@ -22,19 +22,10 @@ "start": "2028-02-27T22:00:00.000Z", "end": "2028-02-28T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2028-02-29 00:00:00", - "start": "2028-02-28T22:00:00.000Z", - "end": "2028-02-29T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2028-03-25 00:00:00", "start": "2028-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2028-06-05 00:00:00", + "start": "2028-06-04T21:00:00.000Z", + "end": "2028-06-05T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2028-08-15 00:00:00", "start": "2028-08-14T21:00:00.000Z", diff --git a/test/fixtures/CY-2029.json b/test/fixtures/CY-2029.json index f5a3ab1ab..d3f6e48c4 100644 --- a/test/fixtures/CY-2029.json +++ b/test/fixtures/CY-2029.json @@ -22,19 +22,10 @@ "start": "2029-02-18T22:00:00.000Z", "end": "2029-02-19T22:00:00.000Z", "name": "Καθαρά Δευτέρα", - "type": "observance", + "type": "public", "rule": "orthodox -48", "_weekday": "Mon" }, - { - "date": "2029-02-20 00:00:00", - "start": "2029-02-19T22:00:00.000Z", - "end": "2029-02-20T22:00:00.000Z", - "name": "Καθαρά Δευτέρα", - "type": "public", - "rule": "orthodox -47", - "_weekday": "Tue" - }, { "date": "2029-03-25 00:00:00", "start": "2029-03-24T22:00:00.000Z", @@ -107,6 +98,15 @@ "rule": "orthodox 49", "_weekday": "Sun" }, + { + "date": "2029-05-28 00:00:00", + "start": "2029-05-27T21:00:00.000Z", + "end": "2029-05-28T21:00:00.000Z", + "name": "Αγίου Πνεύματος", + "type": "public", + "rule": "orthodox 50", + "_weekday": "Mon" + }, { "date": "2029-08-15 00:00:00", "start": "2029-08-14T21:00:00.000Z",