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:41:52 +00:00
parent 4ad866d89a
commit fa5bfe4681

View File

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