From 758c5ff807e930e32ebb27ed13129e6e9d209f03 Mon Sep 17 00:00:00 2001 From: Felix Soubelet Date: Thu, 27 Mar 2025 17:58:23 +0100 Subject: [PATCH 1/2] 2025 days --- scripts/shift_calculations.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/shift_calculations.py b/scripts/shift_calculations.py index 0e049484..1c6f632b 100644 --- a/scripts/shift_calculations.py +++ b/scripts/shift_calculations.py @@ -37,6 +37,17 @@ DATE_FORMAT = "%Y-%m-%d %H:%M" CERN_HOLIDAYS = [ + # https://home.cern/official-holidays/ + datetime(2025, 1, 1), + datetime(2025, 4, 18), + datetime(2025, 4, 21), + datetime(2025, 5, 1), + datetime(2025, 5, 29), + datetime(2025, 6, 9), + datetime(2025, 9, 11), + datetime(2025, 12, 24), + datetime(2025, 12, 25), + datetime(2025, 12, 31), # https://home.cern/official-holidays/ datetime(2024, 1, 1), datetime(2024, 3, 29), From 68664a7c6259a84e3f8a7279ea035cea3a1c697b Mon Sep 17 00:00:00 2001 From: Felix Soubelet Date: Mon, 31 Mar 2025 16:41:40 +0200 Subject: [PATCH 2/2] better ref for 2024 --- scripts/shift_calculations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/shift_calculations.py b/scripts/shift_calculations.py index f5a05738..27a4a150 100644 --- a/scripts/shift_calculations.py +++ b/scripts/shift_calculations.py @@ -48,7 +48,8 @@ datetime(2025, 12, 24), datetime(2025, 12, 25), datetime(2025, 12, 31), - # https://home.cern/official-holidays/ + # At some point they stopped having a page for each year so for 2024 we can refer to: + # https://home.cern/news/official-news/cern/official-holidays-2024-and-end-year-closure-20242025 datetime(2024, 1, 1), datetime(2024, 3, 29), datetime(2024, 4, 1),