1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00

- skip on win, strftime uses system TZ

This commit is contained in:
Pierre Joye
2011-09-12 23:31:22 +00:00
parent b6aabaae59
commit 198bb6780a

View File

@@ -1,10 +1,13 @@
--TEST--
Bug #32555 (strtotime("tomorrow") can return false)
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') die('skip strftime uses system TZ');
?>
--INI--
date.timezone=US/Eastern
--FILE--
<?php
$stamp = 1112427000;
print strftime('%c %Z',strtotime('now',$stamp)) ."\n";
print strftime('%c %Z',strtotime('tomorrow',$stamp)) ."\n";