From ed370717ad3579f56db3da8cced63f4488510045 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 4 Oct 2012 23:17:04 +0000 Subject: [PATCH] Adjust custom date selection to include the full end date - iCal export --- calendar/inc/class.calendar_export_ical.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_export_ical.inc.php b/calendar/inc/class.calendar_export_ical.inc.php index 377c58de23..b4b8d38bcf 100644 --- a/calendar/inc/class.calendar_export_ical.inc.php +++ b/calendar/inc/class.calendar_export_ical.inc.php @@ -38,9 +38,8 @@ class calendar_export_ical extends calendar_export_csv { if($options['selection']['select'] == 'criteria') { $query = array( 'start' => $options['selection']['start'], - 'end' => $options['selection']['end'], + 'end' => strtotime('+1 day',$options['selection']['end'])-1, 'categories' => $options['categories'] ? $options['categories'] : $options['selection']['categories'], - 'enum_recuring' => false, 'daywise' => false, 'users' => $options['selection']['owner'], 'cfs' => $cfs // Otherwise we shouldn't get any custom fields