Re: a few other observations - I'm sorry!

From: Date: Wed, 19 May 2004 12:35:04 +0000
Subject: Re: a few other observations - I'm sorry!
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12597@lists.php.net to get a copy of this message
On 18 May 2004 21:27:16 -0000, PHPDiscuss - PHP Newsgroups and mailing lists wrote: > I looked at example 14, (I think this is what you mean), and there > is the same error. Look at this page: > > > http://pearcalendar.sourceforge.net/examples/14.php?y=2004&m=00 > but compare that to this page > > http://pearcalendar.sourceforge.net/examples/14.php?y=2003&m=12 > > see the difference? so apparently it is not the script; since it > happens here, too! my time to apologize :) I found a subtle bug in the class, but not in the adjust() method. The number of empty days at the start of the month was calculated *before* the adjust() method, so it could return a wrong number in some cases like yours. Fixed in CVS. Regards, -- Lorenzo Alberton http://pear.php.net/user/quipo

« previous php.pear.general (#12597) next »