From 930fd6ee07a0aa3b628d84124984f05651b453d3 Mon Sep 17 00:00:00 2001 From: commenthol Date: Fri, 27 Dec 2024 12:22:08 +0100 Subject: [PATCH] fix(IE,#495): removal of Christmas bank holiday According to https://www.bankholidays.ie/bank-holiday-dates-ireland-2024 there is no bank holiday on December 27th. --- data/countries/IE.yaml | 4 ---- test/fixtures/IE-2015.json | 18 ------------------ test/fixtures/IE-2016.json | 9 --------- test/fixtures/IE-2017.json | 9 --------- test/fixtures/IE-2018.json | 9 --------- test/fixtures/IE-2019.json | 9 --------- test/fixtures/IE-2020.json | 18 ------------------ test/fixtures/IE-2021.json | 9 --------- test/fixtures/IE-2022.json | 9 --------- test/fixtures/IE-2023.json | 9 --------- test/fixtures/IE-2024.json | 9 --------- test/fixtures/IE-2025.json | 18 ------------------ test/fixtures/IE-2026.json | 18 ------------------ test/fixtures/IE-2027.json | 9 --------- 14 files changed, 157 deletions(-) diff --git a/data/countries/IE.yaml b/data/countries/IE.yaml index 8aa0ae482..6692aa41d 100644 --- a/data/countries/IE.yaml +++ b/data/countries/IE.yaml @@ -67,10 +67,6 @@ holidays: en: St. Stephen's Day substitute: true type: bank - 12-27 and if saturday then next monday if sunday then next tuesday: - name: - en: Christmas Bank Holiday - type: bank 3rd sunday in June: _name: Fathers Day type: observance diff --git a/test/fixtures/IE-2015.json b/test/fixtures/IE-2015.json index 3f627ab19..be805b2dc 100644 --- a/test/fixtures/IE-2015.json +++ b/test/fixtures/IE-2015.json @@ -125,15 +125,6 @@ "rule": "12-26", "_weekday": "Sat" }, - { - "date": "2015-12-27 00:00:00", - "start": "2015-12-27T00:00:00.000Z", - "end": "2015-12-28T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Sun" - }, { "date": "2015-12-28 00:00:00", "start": "2015-12-28T00:00:00.000Z", @@ -143,14 +134,5 @@ "substitute": true, "rule": "12-26 and if saturday then next monday if sunday then next monday", "_weekday": "Mon" - }, - { - "date": "2015-12-29 00:00:00", - "start": "2015-12-29T00:00:00.000Z", - "end": "2015-12-30T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Tue" } ] \ No newline at end of file diff --git a/test/fixtures/IE-2016.json b/test/fixtures/IE-2016.json index 0feed9b79..bceca2280 100644 --- a/test/fixtures/IE-2016.json +++ b/test/fixtures/IE-2016.json @@ -124,14 +124,5 @@ "type": "public", "rule": "12-26", "_weekday": "Mon" - }, - { - "date": "2016-12-27 00:00:00", - "start": "2016-12-27T00:00:00.000Z", - "end": "2016-12-28T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Tue" } ] \ No newline at end of file diff --git a/test/fixtures/IE-2017.json b/test/fixtures/IE-2017.json index 69c9ea51f..822c903f2 100644 --- a/test/fixtures/IE-2017.json +++ b/test/fixtures/IE-2017.json @@ -124,14 +124,5 @@ "type": "public", "rule": "12-26", "_weekday": "Tue" - }, - { - "date": "2017-12-27 00:00:00", - "start": "2017-12-27T00:00:00.000Z", - "end": "2017-12-28T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Wed" } ] \ No newline at end of file diff --git a/test/fixtures/IE-2018.json b/test/fixtures/IE-2018.json index 575307db2..42691f80b 100644 --- a/test/fixtures/IE-2018.json +++ b/test/fixtures/IE-2018.json @@ -134,14 +134,5 @@ "type": "public", "rule": "12-26", "_weekday": "Wed" - }, - { - "date": "2018-12-27 00:00:00", - "start": "2018-12-27T00:00:00.000Z", - "end": "2018-12-28T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Thu" } ] \ No newline at end of file diff --git a/test/fixtures/IE-2019.json b/test/fixtures/IE-2019.json index d89ac16c3..9a5ccd174 100644 --- a/test/fixtures/IE-2019.json +++ b/test/fixtures/IE-2019.json @@ -134,14 +134,5 @@ "type": "public", "rule": "12-26", "_weekday": "Thu" - }, - { - "date": "2019-12-27 00:00:00", - "start": "2019-12-27T00:00:00.000Z", - "end": "2019-12-28T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Fri" } ] \ No newline at end of file diff --git a/test/fixtures/IE-2020.json b/test/fixtures/IE-2020.json index 676ee0b1b..339f2ec7e 100644 --- a/test/fixtures/IE-2020.json +++ b/test/fixtures/IE-2020.json @@ -125,15 +125,6 @@ "rule": "12-26", "_weekday": "Sat" }, - { - "date": "2020-12-27 00:00:00", - "start": "2020-12-27T00:00:00.000Z", - "end": "2020-12-28T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Sun" - }, { "date": "2020-12-28 00:00:00", "start": "2020-12-28T00:00:00.000Z", @@ -143,14 +134,5 @@ "substitute": true, "rule": "12-26 and if saturday then next monday if sunday then next monday", "_weekday": "Mon" - }, - { - "date": "2020-12-29 00:00:00", - "start": "2020-12-29T00:00:00.000Z", - "end": "2020-12-30T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Tue" } ] \ No newline at end of file diff --git a/test/fixtures/IE-2021.json b/test/fixtures/IE-2021.json index 2de67a59a..802a973d6 100644 --- a/test/fixtures/IE-2021.json +++ b/test/fixtures/IE-2021.json @@ -125,15 +125,6 @@ "rule": "12-26", "_weekday": "Sun" }, - { - "date": "2021-12-27 00:00:00", - "start": "2021-12-27T00:00:00.000Z", - "end": "2021-12-28T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Mon" - }, { "date": "2021-12-27 00:00:00", "start": "2021-12-27T00:00:00.000Z", diff --git a/test/fixtures/IE-2022.json b/test/fixtures/IE-2022.json index c1da6db2d..18b952476 100644 --- a/test/fixtures/IE-2022.json +++ b/test/fixtures/IE-2022.json @@ -124,14 +124,5 @@ "type": "public", "rule": "12-26", "_weekday": "Mon" - }, - { - "date": "2022-12-27 00:00:00", - "start": "2022-12-27T00:00:00.000Z", - "end": "2022-12-28T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Tue" } ] \ No newline at end of file diff --git a/test/fixtures/IE-2023.json b/test/fixtures/IE-2023.json index bf5ac3ddb..268e638f1 100644 --- a/test/fixtures/IE-2023.json +++ b/test/fixtures/IE-2023.json @@ -133,14 +133,5 @@ "type": "public", "rule": "12-26", "_weekday": "Tue" - }, - { - "date": "2023-12-27 00:00:00", - "start": "2023-12-27T00:00:00.000Z", - "end": "2023-12-28T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Wed" } ] \ No newline at end of file diff --git a/test/fixtures/IE-2024.json b/test/fixtures/IE-2024.json index b24c419be..a185091a7 100644 --- a/test/fixtures/IE-2024.json +++ b/test/fixtures/IE-2024.json @@ -143,14 +143,5 @@ "type": "public", "rule": "12-26", "_weekday": "Thu" - }, - { - "date": "2024-12-27 00:00:00", - "start": "2024-12-27T00:00:00.000Z", - "end": "2024-12-28T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Fri" } ] \ No newline at end of file diff --git a/test/fixtures/IE-2025.json b/test/fixtures/IE-2025.json index 9a2127571..3eae88f3b 100644 --- a/test/fixtures/IE-2025.json +++ b/test/fixtures/IE-2025.json @@ -133,23 +133,5 @@ "type": "public", "rule": "12-26", "_weekday": "Fri" - }, - { - "date": "2025-12-27 00:00:00", - "start": "2025-12-27T00:00:00.000Z", - "end": "2025-12-28T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Sat" - }, - { - "date": "2025-12-29 00:00:00", - "start": "2025-12-29T00:00:00.000Z", - "end": "2025-12-30T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Mon" } ] \ No newline at end of file diff --git a/test/fixtures/IE-2026.json b/test/fixtures/IE-2026.json index 50dafd3f0..508ccee62 100644 --- a/test/fixtures/IE-2026.json +++ b/test/fixtures/IE-2026.json @@ -134,15 +134,6 @@ "rule": "12-26", "_weekday": "Sat" }, - { - "date": "2026-12-27 00:00:00", - "start": "2026-12-27T00:00:00.000Z", - "end": "2026-12-28T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Sun" - }, { "date": "2026-12-28 00:00:00", "start": "2026-12-28T00:00:00.000Z", @@ -152,14 +143,5 @@ "substitute": true, "rule": "12-26 and if saturday then next monday if sunday then next monday", "_weekday": "Mon" - }, - { - "date": "2026-12-29 00:00:00", - "start": "2026-12-29T00:00:00.000Z", - "end": "2026-12-30T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Tue" } ] \ No newline at end of file diff --git a/test/fixtures/IE-2027.json b/test/fixtures/IE-2027.json index 8ae427f01..23134c436 100644 --- a/test/fixtures/IE-2027.json +++ b/test/fixtures/IE-2027.json @@ -134,15 +134,6 @@ "rule": "12-26", "_weekday": "Sun" }, - { - "date": "2027-12-27 00:00:00", - "start": "2027-12-27T00:00:00.000Z", - "end": "2027-12-28T00:00:00.000Z", - "name": "Christmas Bank Holiday", - "type": "bank", - "rule": "12-27 and if saturday then next monday if sunday then next tuesday", - "_weekday": "Mon" - }, { "date": "2027-12-27 00:00:00", "start": "2027-12-27T00:00:00.000Z",