nlopess Sat Jun 17 10:30:23 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/date/tests strtotime3.phpt Log: change the timezone used (per Derick request) add one string I missed yesterday. Now every strotime() rule is covered http://cvs.php.net/viewcvs.cgi/php-src/ext/date/tests/strtotime3.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u Index: php-src/ext/date/tests/strtotime3.phpt diff -u php-src/ext/date/tests/strtotime3.phpt:1.1.2.1 php-src/ext/date/tests/strtotime3.phpt:1.1.2.2 --- php-src/ext/date/tests/strtotime3.phpt:1.1.2.1 Fri Jun 16 22:46:57 2006 +++ php-src/ext/date/tests/strtotime3.phpt Sat Jun 17 10:30:23 2006 @@ -2,7 +2,7 @@ strtotime() function --FILE-- <?php -date_default_timezone_set('Portugal'); +date_default_timezone_set('Europe/Lisbon'); $time = 1150494719; // 16/June/2006 $strs = array( @@ -27,6 +27,7 @@ '10/Oct/2000:13:55:36 +0100', //clf '10/Oct/2000:13:55:36 +00100', //clf '2006', + '1986', // year 'JAN', 'January', ); @@ -63,5 +64,6 @@ string(31) "Tue, 10 Oct 2000 13:55:36 +0100" bool(false) string(31) "Fri, 16 Jun 2006 20:06:00 +0100" +string(31) "Mon, 16 Jun 1986 22:51:59 +0100" string(31) "Mon, 16 Jan 2006 00:00:00 +0000" string(31) "Mon, 16 Jan 2006 00:00:00 +0000"
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php