forked from extern/egroupware
* CalDAV: fixed Outlook needs Microsoft specific x-property to recognice all-day events as such
This commit is contained in:
parent
6161826de1
commit
d43e93cf7f
@ -590,6 +590,8 @@ class calendar_ical extends calendar_boupdate
|
||||
array('VALUE' => 'DATE'));
|
||||
}
|
||||
unset($attributes['DTSTART']);
|
||||
// Outlook does NOT care about type of DTSTART/END, only setting X-MICROSOFT-CDO-ALLDAYEVENT is used to determine an event is a whole-day event
|
||||
$vevent->setAttribute('X-MICROSOFT-CDO-ALLDAYEVENT','TRUE');
|
||||
}
|
||||
break;
|
||||
|
||||
@ -2369,6 +2371,9 @@ class calendar_ical extends calendar_boupdate
|
||||
error_log(__METHOD__."() find DTEND AND DURATION --> ignoring DURATION");
|
||||
}
|
||||
break;
|
||||
case 'X-MICROSOFT-CDO-ALLDAYEVENT':
|
||||
$event['whole_day'] = true;
|
||||
break;
|
||||
case 'AALARM':
|
||||
case 'DALARM':
|
||||
$alarmTime = $attributes['value'];
|
||||
|
Loading…
Reference in New Issue
Block a user