Re: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/date/tests bug37514.phpt oo_002.phpt

2007-01-06 Thread Marcus Boerger
Hello Hannes, could we not simply use regex verification using --EXPECTREGEX-- ? best regards marcus Friday, January 5, 2007, 4:21:45 PM, you wrote: bjori Fri Jan 5 15:21:45 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/date/tests bug37514.phpt

Re: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/date/tests bug37514.phpt oo_002.phpt

2007-01-06 Thread Hannes Magnusson
Hi Marcus The test is checking if strtotime() assumes correct year, therefor we need to check if it prints correct year and weekday... Matching it against simply any weekday and any year kinda defeats the purpose of the test. -Hannes On 1/6/07, Marcus Boerger [EMAIL PROTECTED] wrote: Hello

Re: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/date/tests bug37514.phpt oo_002.phpt

2007-01-06 Thread Nuno Lopes
Well at least the first on can use the strtotime() second parameter (a timestamp), so that the relative times are calculated against that given timestamp. Nuno - Original Message - Hi Marcus The test is checking if strtotime() assumes correct year, therefor we need to check if it

[PHP-CVS] cvs: php-src(PHP_5_2) /ext/date/tests bug37514.phpt

2007-01-06 Thread Hannes Magnusson
bjori Sun Jan 7 07:58:28 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/date/tests bug37514.phpt Log: Use relative timestamp #Thanks Nuno :) http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/bug37514.phpt?r1=1.1.2.3r2=1.1.2.4diff_format=u

[PHP-CVS] cvs: php-src(PHP_5_2) /ext/date/tests bug37514.phpt oo_002.phpt

2007-01-05 Thread Hannes Magnusson
bjori Fri Jan 5 15:21:45 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/date/tests bug37514.phpt oo_002.phpt Log: Fix tests #We'll need to update these every year..

[PHP-CVS] cvs: php-src(PHP_5_2) /ext/date/tests bug37514.phpt

2007-01-03 Thread Antony Dovgal
tony2001Wed Jan 3 13:48:54 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/date/tests bug37514.phpt Log: MFH http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/bug37514.phpt?r1=1.1.2.1r2=1.1.2.2diff_format=u Index: