From: Chad <ch...@ch...> - 2004-04-27 18:57:28
|
Just to clarify, there is one 25 hour day each year for most of us. We'll probably change the functions to strtotime (+1 day) though to simplify things. -C On Apr 27, 2004, at 10:51 AM, Pieter van Leuven wrote: > Hi, > > After testing phpicalendar last weekend I noticed something strange > (don't know exactly what) and I solved this by changing the > way $end_week_time and $thisdate was calculated in ./rss/rss.php: > > $end_week_time = $start_week_time + (6 * 25 * 60 * 60); > $thisdate = ($thisdate + (25 * 60 * 60)); > > I didn't understand the 25 so I changed this in 24 because is seems > more logical and my problem was solved. > > In the forum I saw a simular fault: > BTW, my calendar has a display bug this weekend where one event is > showing up on saturday when in ical it is scheduled for friday. Anybody > have and clue how to fix this? > > Can the day of 25 hours the problem that an event is showing up one > day later? > > (The same calculation is also done in ./functions/list_functions.php, > ./week.php and ./print.php) > > > Regards, > Pieter |