Merge branch 'hotfix/groups-swiss-date-end-fix'
This commit is contained in:
@@ -164,7 +164,7 @@ class GroupsSwissService implements SingletonInterface, LoggerAwareInterface
|
|||||||
'from' => $event->getBegin(),
|
'from' => $event->getBegin(),
|
||||||
];
|
];
|
||||||
} elseif (true === is_array($item) && $status !== $contingentStatus) {
|
} elseif (true === is_array($item) && $status !== $contingentStatus) {
|
||||||
$item['to'] = $event->getEnd();
|
$item['to'] = $event->getEnd()->modify('-1 day');
|
||||||
$statusCode = Contingent::STATUS_ONREQUEST === $status ? 1 : 2;
|
$statusCode = Contingent::STATUS_ONREQUEST === $status ? 1 : 2;
|
||||||
$this->addItem($item, $statusCode, $apiKey, $houseNumber);
|
$this->addItem($item, $statusCode, $apiKey, $houseNumber);
|
||||||
$item = null;
|
$item = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user