From ca7d6d308f9e8ff748e2b51b6e7c98073f49c7c8 Mon Sep 17 00:00:00 2001 From: mgalgoci Date: Tue, 31 Aug 2004 18:43:51 +0000 Subject: [PATCH] Fix this bug: Date: Tue, 31 Aug 2004 16:16:35 +0200 From: Michael Schmidt 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 --- calendar/inc/class.uicalendar.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.uicalendar.inc.php b/calendar/inc/class.uicalendar.inc.php index a005ce2b1c..658daf30f0 100755 --- a/calendar/inc/class.uicalendar.inc.php +++ b/calendar/inc/class.uicalendar.inc.php @@ -508,7 +508,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', @@ -518,7 +518,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',