summaryrefslogtreecommitdiff
path: root/plugins/calendar/drivers/kolab/kolab_calendar.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/calendar/drivers/kolab/kolab_calendar.php')
-rw-r--r--plugins/calendar/drivers/kolab/kolab_calendar.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/calendar/drivers/kolab/kolab_calendar.php b/plugins/calendar/drivers/kolab/kolab_calendar.php
index b7a1bc8..84f7dca 100644
--- a/plugins/calendar/drivers/kolab/kolab_calendar.php
+++ b/plugins/calendar/drivers/kolab/kolab_calendar.php
@@ -532,8 +532,8 @@ class kolab_calendar
if ($recurrence['range-type'] == 'number')
$rrule['COUNT'] = intval($recurrence['range']);
else if ($recurrence['range-type'] == 'date') {
- $rrule['UNTIL'] = new DateTime('@'.$recurrence['range']);
- $rrule['UNTIL']->setTimezone($this->cal->user_timezone);
+ $rrule['UNTIL'] = new DateTime('@' . $recurrence['range']);
+ $rrule['UNTIL']->setTimezone(new DateTimeZone(date_default_timezone_get()));
}
if ($recurrence['day']) {