cvs: php4 /ext/standard/tests/time 002.phpt

From: Date: Sun, 09 Feb 2003 12:21:47 +0000
Subject: cvs: php4 /ext/standard/tests/time 002.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-18531@lists.php.net to get a copy of this message
k.schroeder Sun Feb 9 07:21:47 2003 EDT Modified files: /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.5 --- 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:21:47 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"); }

« previous php.cvs (#18531) next »