week.php month boundary repeat error
Brought to you by:
jberanek
If you create a repeating event that crosses a month
boundary, it displays properly in the daily and
monthly views, but the weekly view shows it throughout
the first week of the following month.
1) Create an event for 2/26/2002, all day, repeat
daily thru 3/3/2002.
2) View Day of each day looks ok, View Month of
February and March looks ok, View Week of Mar 03 shows
the event through the entire week even though it ends
on 3/3.
Found in Version: mrbs-1.0pre2
Logged In: NO
Which PHP are you using?
I use PHP3 and apache server.
And MRBS 1.0-pre2.
I had problems to cast the integer in the week-php-source
code.
Output from SCCS diff:
< $end_t = min(round_t_up($row[1], $resolution),
$week_end+1);
> $end_t = min((int)round_t_up((int)$row[1],
(int)$resolution), (int)$week_end+1);
Maybe that helps
Logged In: NO
That fixes it - thanks!
Logged In: YES
user_id=29285
applied to CVS