mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 05:29:13 +01:00
fix from H.J.Tappe regarding the calculation of the enddate for the events to show
This commit is contained in:
parent
d89e7b088b
commit
5283f3098f
@ -286,8 +286,7 @@ class module_calendar_list extends Module
|
|||||||
(60 * 60 * 24 * 7 * $dateOffset));
|
(60 * 60 * 24 * 7 * $dateOffset));
|
||||||
}
|
}
|
||||||
$last = (int) ($first +
|
$last = (int) ($first +
|
||||||
(60 * 60 * 24 * 7 * $weeks) +
|
(60 * 60 * 24 * 7 * $weeks));
|
||||||
(60 * 60 * 24 * 7 * $dateOffset));
|
|
||||||
|
|
||||||
if ($arguments['showTitle'])
|
if ($arguments['showTitle'])
|
||||||
{
|
{
|
||||||
|
@ -243,8 +243,7 @@ class module_calendar_month extends Module
|
|||||||
adodb_date('m',$start),
|
adodb_date('m',$start),
|
||||||
adodb_date('d',$start));
|
adodb_date('d',$start));
|
||||||
$last = (int) ($first +
|
$last = (int) ($first +
|
||||||
(60 * 60 * 24 * 7 * $weeks) +
|
(60 * 60 * 24 * 7 * $weeks));
|
||||||
(60 * 60 * 24 * 7 * $dateOffset));
|
|
||||||
|
|
||||||
if ($arguments['showTitle'])
|
if ($arguments['showTitle'])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user