fix from H.J.Tappe regarding the calculation of the enddate for the events to show

This commit is contained in:
Klaus Leithoff 2009-08-04 10:23:48 +00:00
parent d89e7b088b
commit 5283f3098f
2 changed files with 2 additions and 4 deletions

View File

@ -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'])
{

View File

@ -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'])
{