Skip to content
Snippets Groups Projects
Commit 45c983e8 authored by Bart Visscher's avatar Bart Visscher
Browse files

Add missing datetime type

parent 19d41217
Branches
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment