summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2012-10-10 16:47:27 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2012-10-10 16:47:27 (GMT)
commitd67fc01360bc1ee181caf614e9e7026f206ca1ff (patch)
treed6f4481a00c121aabccac67a9b45c18d277ebec7
parent15c2a813f4a0af111d5cf2a9c52d0feda2768363 (diff)
downloadroundcubemail-plugins-kolab-d67fc01360bc1ee181caf614e9e7026f206ca1ff.tar.gz
Fix DateTime constructor in code added in last commit
-rw-r--r--plugins/calendar/calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php
index 8160cb7..b08a836 100644
--- a/plugins/calendar/calendar.php
+++ b/plugins/calendar/calendar.php
@@ -120,7 +120,7 @@ class calendar extends rcube_plugin
$this->user_timezone = new DateTimeZone($this->timezone);
}
- $now = new DateTime('now', $this->timezone);
+ $now = new DateTime('now', $this->user_timezone);
$this->gmt_offset = $now->getOffset();
$this->dst_active = $now->format('I');