forked from extern/egroupware
SyncML fixes
This commit is contained in:
parent
51b912557d
commit
b45b84fe55
@ -150,7 +150,14 @@
|
||||
return false; // no permission to read $cal_id
|
||||
}
|
||||
//_debug_array($event);
|
||||
|
||||
|
||||
// correct daylight saving time
|
||||
$currentDST = date('I', mktime());
|
||||
$eventDST = date('I', $event['start']);
|
||||
$DSTCorrection = ($currentDST - $eventDST) * 3600;
|
||||
$event['start'] = $event['start'] + $DSTCorrection;
|
||||
$event['end'] = $event['end'] + $DSTCorrection;
|
||||
|
||||
$eventGUID = $GLOBALS['egw']->common->generate_uid('calendar',$event['id']);
|
||||
|
||||
$vevent = Horde_iCalendar::newComponent('VEVENT',$vcal);
|
||||
@ -314,7 +321,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if(strtolower($this->productManufacturer) == 'nokia') {
|
||||
if($event['special'] == '1') {
|
||||
$attributes['X-EPOCAGENDAENTRYTYPE'] = 'ANNIVERSARY';
|
||||
|
Loading…
Reference in New Issue
Block a user