Skip to content

Commit a76f00b

Browse files
committed
fix(birthday-service): Fix on 32 bits system
Signed-off-by: Carl Schwan <[email protected]>
1 parent f8cf78f commit a76f00b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dav/lib/CalDAV/BirthdayService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public function buildDateFromContact(string $cardData,
217217
$vEvent->DTSTART['VALUE'] = 'DATE';
218218
$vEvent->add('DTEND');
219219

220-
$dtEndDate = (new \DateTime())->setTimestamp($date->getTimeStamp());
220+
$dtEndDate = \DateTime::createFromInterface($date);
221221
$dtEndDate->add(new \DateInterval('P1D'));
222222
$vEvent->DTEND->setDateTime(
223223
$dtEndDate

0 commit comments

Comments
 (0)