- skip on win, strftime uses system TZ

This commit is contained in:
Pierre Joye committed 2011-09-12 23:31:22 +00:00
1 parent b6aabaae59
commit 198bb6780a
1 file changed
+4 -1
+4 -1
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";