From 5283f3098fdeabcf1c0e7c9d1fecaf1c29aaec52 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 4 Aug 2009 10:23:48 +0000 Subject: [PATCH] fix from H.J.Tappe regarding the calculation of the enddate for the events to show --- calendar/sitemgr/class.module_calendar_list.inc.php | 3 +-- calendar/sitemgr/class.module_calendar_month.inc.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/calendar/sitemgr/class.module_calendar_list.inc.php b/calendar/sitemgr/class.module_calendar_list.inc.php index 1b128d5205..c864ecb413 100644 --- a/calendar/sitemgr/class.module_calendar_list.inc.php +++ b/calendar/sitemgr/class.module_calendar_list.inc.php @@ -286,8 +286,7 @@ class module_calendar_list extends Module (60 * 60 * 24 * 7 * $dateOffset)); } $last = (int) ($first + - (60 * 60 * 24 * 7 * $weeks) + - (60 * 60 * 24 * 7 * $dateOffset)); + (60 * 60 * 24 * 7 * $weeks)); if ($arguments['showTitle']) { diff --git a/calendar/sitemgr/class.module_calendar_month.inc.php b/calendar/sitemgr/class.module_calendar_month.inc.php index 8aa3ceca5c..ae978efdbe 100644 --- a/calendar/sitemgr/class.module_calendar_month.inc.php +++ b/calendar/sitemgr/class.module_calendar_month.inc.php @@ -243,8 +243,7 @@ class module_calendar_month extends Module adodb_date('m',$start), adodb_date('d',$start)); $last = (int) ($first + - (60 * 60 * 24 * 7 * $weeks) + - (60 * 60 * 24 * 7 * $dateOffset)); + (60 * 60 * 24 * 7 * $weeks)); if ($arguments['showTitle']) {