From c2e9152628f71648cdd83360623c424620f80229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Duch=C3=AAne?= Date: Mon, 28 Oct 2024 10:37:40 +0100 Subject: [PATCH] Add 2025 holidays --- CHANGES.rst | 2 ++ .../PloneMeeting/migrations/migrate_to_4214.py | 2 ++ src/Products/PloneMeeting/profiles/__init__.py | 13 +++++++++++++ 3 files changed, 17 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index 5a4c82fb3..0200ce3e1 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -9,6 +9,8 @@ Changelog when using `BaseDGHV.print_attendees` and `BaseDGHV.print_attendees_by_type` using a special parameter `short_title_kwargs`. [gbastien] +- Added holidays for 2025. + [aduchene] 4.2.11 (2024-09-25) ------------------- diff --git a/src/Products/PloneMeeting/migrations/migrate_to_4214.py b/src/Products/PloneMeeting/migrations/migrate_to_4214.py index 9c690ca9e..894f80061 100644 --- a/src/Products/PloneMeeting/migrations/migrate_to_4214.py +++ b/src/Products/PloneMeeting/migrations/migrate_to_4214.py @@ -58,6 +58,8 @@ def run(self, extra_omitted=[], from_migration_to_4200=False): # dashboard faceted criteria, new MeetingConfigs created manually in between # are missing this new criterion self.updateFacetedFilters(xml_filename='upgrade_step_4211_add_item_widgets.xml') + # holidays 2025 were added + self.updateHolidays() logger.info('Migrating to PloneMeeting 4214... Done.') diff --git a/src/Products/PloneMeeting/profiles/__init__.py b/src/Products/PloneMeeting/profiles/__init__.py index e4a7f5318..124a7f884 100644 --- a/src/Products/PloneMeeting/profiles/__init__.py +++ b/src/Products/PloneMeeting/profiles/__init__.py @@ -918,6 +918,19 @@ def __init__(self, meetingFolderTitle, meetingConfigs, orgs): {'date': '2024/11/11', }, {'date': '2024/11/15', }, {'date': '2024/12/25', }, + + {'date': '2025/01/01', }, # 2025 + {'date': '2025/04/21', }, + {'date': '2025/05/01', }, + {'date': '2025/05/29', }, + {'date': '2025/06/09', }, + {'date': '2025/07/21', }, + {'date': '2025/08/15', }, + {'date': '2025/09/27', }, + {'date': '2025/11/01', }, + {'date': '2025/11/11', }, + {'date': '2025/11/15', }, + {'date': '2025/12/25', }, ] self.delayUnavailableEndDays = () self.configGroups = ()