diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-06-24 09:41:37 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-06-24 09:41:37 +0200 |
commit | ca5de26bacf6d8a2245a8d916eaa642c3415bd5f (patch) | |
tree | af21d620178c518fd768c35a03179203087b0c1b | |
parent | a113ee9e9fd07ab10472746ae8fdfeb61c3d7aeb (diff) | |
download | nextcloud-server-ca5de26bacf6d8a2245a8d916eaa642c3415bd5f.tar.gz nextcloud-server-ca5de26bacf6d8a2245a8d916eaa642c3415bd5f.zip |
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 26a0cc2a60a..86dff7b75a7 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); |