mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
* CalDAV/InfoLog: do not export stardate > duedate, as some clients (eg. CalDAV Sync for Android) have problems with it
This commit is contained in:
parent
6600ca915a
commit
4d5daa4d3f
@ -315,7 +315,8 @@ class infolog_ical extends infolog_bo
|
||||
$vevent->setAttribute($field, $value, $options);
|
||||
}
|
||||
|
||||
if ($taskData['info_startdate'])
|
||||
// only export startdate < duedate, as some clients (eg. CalDAV Sync for Android) have problems with that
|
||||
if ($taskData['info_startdate'] && (empty($taskData['info_enddate']) || $taskData['info_startdate'] <= $taskData['info_enddate']))
|
||||
{
|
||||
self::setDateOrTime($vevent, 'DTSTART', $taskData['info_startdate'], $tzid);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user