From c03ef48b7a0b5e042a7a4d30928f61c47e44b401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Fri, 25 Aug 2023 09:31:38 +0200 Subject: [PATCH] Revert: Determine date range for Groups.Swiss contingents correctly This reverts commit 42c5bb0a061692b585b34eea70c64cda36f3dbbe. --- .../ext/ep_products/Classes/Service/GroupsSwissService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/typo3conf/ext/ep_products/Classes/Service/GroupsSwissService.php b/public/typo3conf/ext/ep_products/Classes/Service/GroupsSwissService.php index 970c9df6..38257dbc 100644 --- a/public/typo3conf/ext/ep_products/Classes/Service/GroupsSwissService.php +++ b/public/typo3conf/ext/ep_products/Classes/Service/GroupsSwissService.php @@ -135,7 +135,7 @@ class GroupsSwissService implements SingletonInterface, LoggerAwareInterface if (null === $item && Contingent::STATUS_OK !== $contingentStatus) { $status = $contingentStatus; $item = [ - 'from' => $event->getBegin()->modify('-1 day'), + 'from' => $event->getBegin(), ]; } elseif (true === is_array($item) && $status !== $contingentStatus) { $item['to'] = $event->getEnd()->modify('-1 day');