From c098805822338bfe3849b62a62ad668cb3b6651f Mon Sep 17 00:00:00 2001 From: mysteryGarlicPress <249918448+mysteryGarlicPress@users.noreply.github.com> Date: Sun, 28 Jun 2026 18:31:54 +0000 Subject: [PATCH] Update bank holidays --- lib/dfe/reference_data/bank_holidays.rb | 134 +++++++++++++- .../raw_data/bank_holidays.json | 166 +++++++++++++++++- 2 files changed, 296 insertions(+), 4 deletions(-) diff --git a/lib/dfe/reference_data/bank_holidays.rb b/lib/dfe/reference_data/bank_holidays.rb index a3e2ef67..201ff26f 100644 --- a/lib/dfe/reference_data/bank_holidays.rb +++ b/lib/dfe/reference_data/bank_holidays.rb @@ -16,6 +16,105 @@ module BankHolidays }.freeze BANK_HOLIDAYS_DATA = { + "51999a80-82e2-45b6-af06-c35e0a1938e8" => { + title: "New Year’s Day", + date: DateTime.new(2019, 1, 1) + }, + "666db3c2-5a58-448b-930e-ebe0fc5ff4e2" => { + title: "Good Friday", + date: DateTime.new(2019, 4, 19) + }, + "c311ebc7-626f-4628-80dd-12c26cdb7674" => { + title: "Easter Monday", + date: DateTime.new(2019, 4, 22) + }, + "d646212b-546f-4e17-b43c-27856e74aeaa" => { + title: "Early May bank holiday", + date: DateTime.new(2019, 5, 6) + }, + "7484f2b8-f5d0-4917-af16-0cde45bae5c9" => { + title: "Spring bank holiday", + date: DateTime.new(2019, 5, 27) + }, + "82d1d69c-13ad-4c68-b929-d54ea9716a94" => { + title: "Summer bank holiday", + date: DateTime.new(2019, 8, 26) + }, + "9aa120fe-681e-4baf-bdb9-019c390df485" => { + title: "Christmas Day", + date: DateTime.new(2019, 12, 25) + }, + "cf23ceec-c06d-49be-9f40-8fd62095a64b" => { + title: "Boxing Day", + date: DateTime.new(2019, 12, 26) + }, + "7f5c069b-75c8-4752-8161-75baf381a81e" => { + title: "New Year’s Day", + date: DateTime.new(2020, 1, 1) + }, + "fd81b756-baed-48ac-b767-da24690a715b" => { + title: "Good Friday", + date: DateTime.new(2020, 4, 10) + }, + "17e37d24-74a5-4db7-ae09-bd55170c9012" => { + title: "Easter Monday", + date: DateTime.new(2020, 4, 13) + }, + "6df850a9-38ca-45a4-a1f0-1b2924581147" => { + title: "Early May bank holiday (VE day)", + date: DateTime.new(2020, 5, 8) + }, + "03f03b4b-e947-44bf-8937-f29e0aca1c8e" => { + title: "Spring bank holiday", + date: DateTime.new(2020, 5, 25) + }, + "6eaa404e-2aeb-4eb0-ba4e-b0543add903b" => { + title: "Summer bank holiday", + date: DateTime.new(2020, 8, 31) + }, + "188b1284-028d-45e8-a6ea-eaaf6e0bd7cb" => { + title: "Christmas Day", + date: DateTime.new(2020, 12, 25) + }, + "b72259ab-4cc8-4ae6-9262-e1e24dea7662" => { + title: "Boxing Day", + date: DateTime.new(2020, 12, 28), + notes: "Substitute day" + }, + "8012aa60-c3c7-4c22-a605-93940a51d3f7" => { + title: "New Year’s Day", + date: DateTime.new(2021, 1, 1) + }, + "1de0aa0b-3b61-418f-97d0-87f360b190ae" => { + title: "Good Friday", + date: DateTime.new(2021, 4, 2) + }, + "41305cd4-c6eb-487d-9f27-72f250d9e3fd" => { + title: "Easter Monday", + date: DateTime.new(2021, 4, 5) + }, + "f24cdc3e-f561-452f-b749-9283b766f9b2" => { + title: "Early May bank holiday", + date: DateTime.new(2021, 5, 3) + }, + "8b786224-767d-4c2d-9df2-114101b6ae2c" => { + title: "Spring bank holiday", + date: DateTime.new(2021, 5, 31) + }, + "efd0b8be-5f9f-4011-a413-e4cda07f7847" => { + title: "Summer bank holiday", + date: DateTime.new(2021, 8, 30) + }, + "6c9cd5cd-2131-4c92-b9e8-b21076f6d1d0" => { + title: "Christmas Day", + date: DateTime.new(2021, 12, 27), + notes: "Substitute day" + }, + "b785f08b-267f-464d-84d1-21cec210fd21" => { + title: "Boxing Day", + date: DateTime.new(2021, 12, 28), + notes: "Substitute day" + }, "3a7c3c1d-7d6d-475d-af54-7989cf294d6e" => { title: "New Year’s Day", date: DateTime.new(2022, 1, 3), @@ -224,9 +323,38 @@ module BankHolidays title: "Boxing Day (substitute day)", date: DateTime.new(2027, 12, 28) }, - "7c728d36-d2d8-4f2f-86bd-e8a3625d1cab" => { - title: "International Slawosz day", - date: DateTime.new(2027, 12, 29) + "1389af63-f60a-43da-82c8-0a226c8d1d97" => { + title: "New Year’s Day", + date: DateTime.new(2028, 1, 3), + notes: "Substitute day" + }, + "439e0e86-715e-423a-9efc-4f247dbc92f5" => { + title: "Good Friday", + date: DateTime.new(2028, 4, 14) + }, + "74ecfd91-e847-481c-a334-df82352141bc" => { + title: "Easter Monday", + date: DateTime.new(2028, 4, 17) + }, + "77d7c5a9-58e4-4a58-a5d9-b577b30f5848" => { + title: "Early May bank holiday", + date: DateTime.new(2028, 5, 1) + }, + "3a3053c0-463e-4ca8-a537-48f263a2d986" => { + title: "Spring bank holiday", + date: DateTime.new(2028, 5, 29) + }, + "b130d1c9-9e91-4a02-9fbd-5ef2f9d373e4" => { + title: "Summer bank holiday", + date: DateTime.new(2028, 8, 28) + }, + "9b863dc7-e522-44c8-ae7e-9eb878bc223d" => { + title: "Christmas Day", + date: DateTime.new(2028, 12, 25) + }, + "8c277f80-d8dd-480a-8dec-9b15733115fd" => { + title: "Boxing Day", + date: DateTime.new(2028, 12, 26) } }.freeze diff --git a/lib/dfe/reference_data/raw_data/bank_holidays.json b/lib/dfe/reference_data/raw_data/bank_holidays.json index 47f9220e..ddf51311 100644 --- a/lib/dfe/reference_data/raw_data/bank_holidays.json +++ b/lib/dfe/reference_data/raw_data/bank_holidays.json @@ -1,4 +1,127 @@ [ + { + "id": "51999a80-82e2-45b6-af06-c35e0a1938e8", + "title": "New Year’s Day", + "date": "2019-01-01" + }, + { + "id": "666db3c2-5a58-448b-930e-ebe0fc5ff4e2", + "title": "Good Friday", + "date": "2019-04-19" + }, + { + "id": "c311ebc7-626f-4628-80dd-12c26cdb7674", + "title": "Easter Monday", + "date": "2019-04-22" + }, + { + "id": "d646212b-546f-4e17-b43c-27856e74aeaa", + "title": "Early May bank holiday", + "date": "2019-05-06" + }, + { + "id": "7484f2b8-f5d0-4917-af16-0cde45bae5c9", + "title": "Spring bank holiday", + "date": "2019-05-27" + }, + { + "id": "82d1d69c-13ad-4c68-b929-d54ea9716a94", + "title": "Summer bank holiday", + "date": "2019-08-26" + }, + { + "id": "9aa120fe-681e-4baf-bdb9-019c390df485", + "title": "Christmas Day", + "date": "2019-12-25" + }, + { + "id": "cf23ceec-c06d-49be-9f40-8fd62095a64b", + "title": "Boxing Day", + "date": "2019-12-26" + }, + { + "id": "7f5c069b-75c8-4752-8161-75baf381a81e", + "title": "New Year’s Day", + "date": "2020-01-01" + }, + { + "id": "fd81b756-baed-48ac-b767-da24690a715b", + "title": "Good Friday", + "date": "2020-04-10" + }, + { + "id": "17e37d24-74a5-4db7-ae09-bd55170c9012", + "title": "Easter Monday", + "date": "2020-04-13" + }, + { + "id": "6df850a9-38ca-45a4-a1f0-1b2924581147", + "title": "Early May bank holiday (VE day)", + "date": "2020-05-08" + }, + { + "id": "03f03b4b-e947-44bf-8937-f29e0aca1c8e", + "title": "Spring bank holiday", + "date": "2020-05-25" + }, + { + "id": "6eaa404e-2aeb-4eb0-ba4e-b0543add903b", + "title": "Summer bank holiday", + "date": "2020-08-31" + }, + { + "id": "188b1284-028d-45e8-a6ea-eaaf6e0bd7cb", + "title": "Christmas Day", + "date": "2020-12-25" + }, + { + "id": "b72259ab-4cc8-4ae6-9262-e1e24dea7662", + "title": "Boxing Day", + "date": "2020-12-28", + "notes": "Substitute day" + }, + { + "id": "8012aa60-c3c7-4c22-a605-93940a51d3f7", + "title": "New Year’s Day", + "date": "2021-01-01" + }, + { + "id": "1de0aa0b-3b61-418f-97d0-87f360b190ae", + "title": "Good Friday", + "date": "2021-04-02" + }, + { + "id": "41305cd4-c6eb-487d-9f27-72f250d9e3fd", + "title": "Easter Monday", + "date": "2021-04-05" + }, + { + "id": "f24cdc3e-f561-452f-b749-9283b766f9b2", + "title": "Early May bank holiday", + "date": "2021-05-03" + }, + { + "id": "8b786224-767d-4c2d-9df2-114101b6ae2c", + "title": "Spring bank holiday", + "date": "2021-05-31" + }, + { + "id": "efd0b8be-5f9f-4011-a413-e4cda07f7847", + "title": "Summer bank holiday", + "date": "2021-08-30" + }, + { + "id": "6c9cd5cd-2131-4c92-b9e8-b21076f6d1d0", + "title": "Christmas Day", + "date": "2021-12-27", + "notes": "Substitute day" + }, + { + "id": "b785f08b-267f-464d-84d1-21cec210fd21", + "title": "Boxing Day", + "date": "2021-12-28", + "notes": "Substitute day" + }, { "id": "3a7c3c1d-7d6d-475d-af54-7989cf294d6e", "title": "New Year’s Day", @@ -257,5 +380,46 @@ "id": "7c728d36-d2d8-4f2f-86bd-e8a1625d1cab", "title": "Boxing Day (substitute day)", "date": "2027-12-28" + }, + { + "id": "1389af63-f60a-43da-82c8-0a226c8d1d97", + "title": "New Year’s Day", + "date": "2028-01-03", + "notes": "Substitute day" + }, + { + "id": "439e0e86-715e-423a-9efc-4f247dbc92f5", + "title": "Good Friday", + "date": "2028-04-14" + }, + { + "id": "74ecfd91-e847-481c-a334-df82352141bc", + "title": "Easter Monday", + "date": "2028-04-17" + }, + { + "id": "77d7c5a9-58e4-4a58-a5d9-b577b30f5848", + "title": "Early May bank holiday", + "date": "2028-05-01" + }, + { + "id": "3a3053c0-463e-4ca8-a537-48f263a2d986", + "title": "Spring bank holiday", + "date": "2028-05-29" + }, + { + "id": "b130d1c9-9e91-4a02-9fbd-5ef2f9d373e4", + "title": "Summer bank holiday", + "date": "2028-08-28" + }, + { + "id": "9b863dc7-e522-44c8-ae7e-9eb878bc223d", + "title": "Christmas Day", + "date": "2028-12-25" + }, + { + "id": "8c277f80-d8dd-480a-8dec-9b15733115fd", + "title": "Boxing Day", + "date": "2028-12-26" } -] +] \ No newline at end of file