mirror of
https://github.com/php/php-src.git
synced 2025-01-07 03:13:33 +08:00
- skip on win, runtime TZ via putenv is not supported with ext/date
This commit is contained in:
parent
409941c2d1
commit
3a3c2942d2
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user