diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-06-24 11:41:37 +0400 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-06-24 11:42:14 +0400 |
commit | a12557ca4d5f236c40ad3e08193d7fd481b5894b (patch) | |
tree | 0c9a1dfc8dceaa4e36f58f8bf3170a10b9a594f9 | |
parent | 44e36ecf49090b988bf865825c11f70794eba023 (diff) |
another fix for oc-1044
-rw-r--r-- | apps/calendar/ajax/event/edit.form.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/event/edit.form.php b/apps/calendar/ajax/event/edit.form.php index 01939878893..e5cf573c718 100644 --- a/apps/calendar/ajax/event/edit.form.php +++ b/apps/calendar/ajax/event/edit.form.php @@ -28,7 +28,7 @@ $dtstart = $vevent->DTSTART; $dtend = OC_Calendar_Object::getDTEndFromVEvent($vevent); switch($dtstart->getDateType()) { case Sabre_VObject_Property_DateTime::UTC: - $timeOffset = OC_Calendar_App::$tz*60; + $timeOffset = $_SESSION['timezone']*60; $newDT = $dtstart->getDateTime(); $newDT->add(new DateInterval("PT" . $timeOffset . "M")); $dtstart->setDateTime($newDT); |