k.schroeder Sun Feb 9 07:07:42 2003 EDT Modified files: (Branch: PHP_4_3) /php4/ext/standard/tests/time 002.phpt Log: skip for Windows (does not support dates prior to midnight, January 1, 1970) Index: php4/ext/standard/tests/time/002.phpt diff -u php4/ext/standard/tests/time/002.phpt:1.4 php4/ext/standard/tests/time/002.phpt:1.4.2.1 --- php4/ext/standard/tests/time/002.phpt:1.4 Tue Oct 29 10:36:47 2002 +++ php4/ext/standard/tests/time/002.phpt Sun Feb 9 07:07:42 2003 @@ -2,6 +2,9 @@ strtotime() function --SKIPIF-- <?php +if (substr(PHP_OS, 0, 3) == 'WIN') { + print 'skip Windows does not support dates prior to midnight (00:00:00), January +1, 1970'; +} if (!@putenv("TZ=Europe/Amsterdam") || getenv("TZ") != 'Europe/Amsterdam') { die("skip unable to change TZ enviroment variable\n"); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php