Explicitly set allday property when parsing ical

This commit is contained in:
Thomas Bruederli 2015-10-21 23:14:54 +02:00
parent e24024b8be
commit ca23809e63

View file

@ -577,6 +577,8 @@ class libvcalendar implements Iterator
// validate event dates
if ($event['_type'] == 'event') {
$event['allday'] = false;
// check for all-day dates
if ($event['start']->_dateonly) {
$event['allday'] = true;