Explicitly set allday property when parsing ical
This commit is contained in:
parent
e24024b8be
commit
ca23809e63
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue