]> granicus.if.org Git - php/commitdiff
- skip on win, runtime TZ via putenv is not supported with ext/date
authorPierre Joye <pajoye@php.net>
Tue, 13 Sep 2011 13:26:48 +0000 (13:26 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 13 Sep 2011 13:26:48 +0000 (13:26 +0000)
ext/date/tests/bug33532.phpt

index 5c88e73acde9b5aff45b5794d41e2672ddaff7eb..148630855d1eeacba401220a9aa8cddb26c2c004 100644 (file)
@@ -5,7 +5,8 @@ error_reporting=2047
 date.timezone=UTC
 --SKIPIF--
 <?php
-if(PHP_OS == 'Darwin') die("skip strftime depends on TZ on Darwin");
+if(PHP_OS == 'Darwin' || defined('PHP_WINDOWS_VERSION_MAJOR')) die("skip strftime uses system TZ on Darwin and Windows");
+?>
 --FILE--
 <?php