Fix: Determine date range for Groups.Swiss contingents correctly
This commit is contained in:
@@ -135,7 +135,7 @@ class GroupsSwissService implements SingletonInterface, LoggerAwareInterface
|
||||
if (null === $item && Contingent::STATUS_OK !== $contingentStatus) {
|
||||
$status = $contingentStatus;
|
||||
$item = [
|
||||
'from' => $event->getBegin(),
|
||||
'from' => $event->getBegin()->modify('-1 day'),
|
||||
];
|
||||
} elseif (true === is_array($item) && $status !== $contingentStatus) {
|
||||
$item['to'] = $event->getEnd()->modify('-1 day');
|
||||
|
||||
Reference in New Issue
Block a user