From 68dc2e4f47a25e77d6a12ee0ccb3f6d040ce34e4 Mon Sep 17 00:00:00 2001 From: Christian Binder Date: Tue, 6 Oct 2009 13:20:41 +0000 Subject: [PATCH] also set date_format if servertime gets set - just for the case that it is used later --- calendar/inc/class.calendar_ical.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index c240bb7f15..cef630274c 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -240,6 +240,7 @@ class calendar_ical extends calendar_boupdate ($event['recur_enddate'] - $event['start']) > 15778800) { $servertime = true; + $date_format = 'ts'; // read the event again with timestamps $event = $this->read($event['id'], 0, false, 'ts'); }