Re: cvs: php-src(PHP_5_1) /ext/calendar/tests cal_days_in_month.phpt cal_to_jd.phpt easter_days.phpt frenchtojd.phpt skipif.inc

From: Date: Thu, 27 Oct 2005 14:05:45 +0000
Subject: Re: cvs: php-src(PHP_5_1) /ext/calendar/tests cal_days_in_month.phpt cal_to_jd.phpt easter_days.phpt frenchtojd.phpt skipif.inc
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-34824@lists.php.net to get a copy of this message
Thanks for adding the tests for the extension, please don't forget to add them to HEAD as well. I just ran the test suit and the cal_days_in_month test is failing, the expected output is: There are 990210 days in -1, -2003 while the actual output is: Warning: cal_days_in_month(): invalid date. in cal_days_in_month.php on line 8 There are days in -1, -2003 It seems like you are going into BC, which makes the entire process break, which makes me wonder if the test for cal_days_in_month(CAL_GREGORIAN, -1, -2003); is even valid. Ilia

« previous php.cvs (#34824) next »