bug in Calc.php
| From: | Michael Jansen | Date: | Sun, 22 Dec 2002 22:51:30 +0000 |
| Subject: | bug in Calc.php | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-11813@lists.php.net to get a copy of this message | ||
Hi ,
today (02.12.22) I've tried out the Date_Calc class.
I would like to build a weekly timetable with this
class and ITX and DB.
The function beginOfPrevWeek returns Monday the 16.
I think it should return Monday 9 for this Sunday, right?
I have changed in line 1064
...dateToDays($day-7,$month,$year...
-7 in -8, now it works.
Am I right?
greetings
Michael