mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Add missing datetime type
This commit is contained in:
parent
19d4121763
commit
45c983e899
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ $dtstart = $vevent->DTSTART;
|
|||
$dtend = $vevent->DTEND;
|
||||
switch($dtstart->getDateType()) {
|
||||
case Sabre_VObject_Element_DateTime::LOCALTZ:
|
||||
case Sabre_VObject_Element_DateTime::LOCAL:
|
||||
$startdate = $dtstart->getDateTime()->format('d-m-Y');
|
||||
$starttime = $dtstart->getDateTime()->format('H:i');
|
||||
$enddate = $dtend->getDateTime()->format('d-m-Y');
|
||||
|
|
|
|||
Loading…
Reference in a new issue