Fix this bug:

Date: Tue, 31 Aug 2004 16:16:35 +0200
From: Michael Schmidt <brokerjoker@gmx.de>
Reply-To: egroupware-developers@lists.sourceforge.net
To: egroupware-developers@lists.sourceforge.net
Subject: [eGroupWare-developers] Bug in Calendar?

Hi,

if I switch the calendar view to "week view", it displays three months
above the seven days of the week. These should be:

July - August - September

But today it shows:

July - August - October(!)


I guess it has sth. to do with today's date (31st of August).

Is this a known bug?

tnx,
Michael
This commit is contained in:
mgalgoci 2004-08-31 18:43:51 +00:00
parent 9c7206f15f
commit ca7d6d308f

View File

@ -508,7 +508,7 @@
); );
$minical_prev = $this->mini_calendar( $minical_prev = $this->mini_calendar(
Array( Array(
'day' => $this->bo->day, 'day' => 15, /* the 15th of the month is not a boundy condition */
'month' => $this->bo->month - 1, 'month' => $this->bo->month - 1,
'year' => $this->bo->year, 'year' => $this->bo->year,
'link' => 'day', 'link' => 'day',
@ -518,7 +518,7 @@
); );
$minical_next = $this->mini_calendar( $minical_next = $this->mini_calendar(
Array( Array(
'day' => $this->bo->day, 'day' => 15, /* the 15th of the month is not a boundy condition */
'month' => $this->bo->month + 1, 'month' => $this->bo->month + 1,
'year' => $this->bo->year, 'year' => $this->bo->year,
'link' => 'day', 'link' => 'day',