mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
removed daylight saving fix, as it caused what it is suppost to fix: exported events with a different daylight saving are wrong by one hour
This commit is contained in:
parent
2c3996e4e5
commit
9076e73906
@ -152,12 +152,14 @@
|
||||
//_debug_array($event);
|
||||
|
||||
// correct daylight saving time
|
||||
/* causes times wrong by one hour, if exporting events with DST different from the current date,
|
||||
which this fix is suppost to fix. Maybe the problem has been fixed in the horde code too.
|
||||
$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);
|
||||
|
Loading…
Reference in New Issue
Block a user