mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
* 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'));
|
array('VALUE' => 'DATE'));
|
||||||
}
|
}
|
||||||
unset($attributes['DTSTART']);
|
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;
|
break;
|
||||||
|
|
||||||
@ -2369,6 +2371,9 @@ class calendar_ical extends calendar_boupdate
|
|||||||
error_log(__METHOD__."() find DTEND AND DURATION --> ignoring DURATION");
|
error_log(__METHOD__."() find DTEND AND DURATION --> ignoring DURATION");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 'X-MICROSOFT-CDO-ALLDAYEVENT':
|
||||||
|
$event['whole_day'] = true;
|
||||||
|
break;
|
||||||
case 'AALARM':
|
case 'AALARM':
|
||||||
case 'DALARM':
|
case 'DALARM':
|
||||||
$alarmTime = $attributes['value'];
|
$alarmTime = $attributes['value'];
|
||||||
|
Loading…
Reference in New Issue
Block a user