From ce1afa2ce8ca07c0cb65ad46ef096b6be53e032e Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 28 Feb 2008 11:11:34 +0000 Subject: [PATCH] attempt to fix a sync problem regarding recurring events: append T and the (End)time, since the RRULE seems not to be understood by the client without the THHMMSS tail (Where HHMMSS is something like 211465, a time with hour minute seconds appended) --- calendar/inc/class.boical.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.boical.inc.php b/calendar/inc/class.boical.inc.php index ceb3fa32d9..d843e7d717 100644 --- a/calendar/inc/class.boical.inc.php +++ b/calendar/inc/class.boical.inc.php @@ -282,7 +282,8 @@ { $recur_enddate += 86400; } - $rrule['UNTIL'] = date('Ymd',$recur_enddate); + # append T and the Endtime, since the RRULE seems not to be understood by the client without it + $rrule['UNTIL'] = date('Ymd',$recur_enddate).'T'.date('His',($event['end']?$event['end']:$event['start'])) ; } else {