From 628f9e1e0b437519b39fd3719884611b13e871e5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 10 Oct 2007 15:10:34 +0000 Subject: [PATCH] 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 --- calendar/inc/class.boical.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.boical.inc.php b/calendar/inc/class.boical.inc.php index f07eb82d8f..07a499d27a 100644 --- a/calendar/inc/class.boical.inc.php +++ b/calendar/inc/class.boical.inc.php @@ -166,12 +166,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);