pajoye Mon, 12 Sep 2011 23:31:22 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=316569
Log: - skip on win, strftime uses system TZ Changed paths: U php/php-src/branches/PHP_5_3/ext/date/tests/bug32555.phpt U php/php-src/branches/PHP_5_4/ext/date/tests/bug32555.phpt U php/php-src/trunk/ext/date/tests/bug32555.phpt Modified: php/php-src/branches/PHP_5_3/ext/date/tests/bug32555.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/date/tests/bug32555.phpt 2011-09-12 20:05:07 UTC (rev 316568) +++ php/php-src/branches/PHP_5_3/ext/date/tests/bug32555.phpt 2011-09-12 23:31:22 UTC (rev 316569) @@ -1,5 +1,9 @@ --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-- Modified: php/php-src/branches/PHP_5_4/ext/date/tests/bug32555.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/date/tests/bug32555.phpt 2011-09-12 20:05:07 UTC (rev 316568) +++ php/php-src/branches/PHP_5_4/ext/date/tests/bug32555.phpt 2011-09-12 23:31:22 UTC (rev 316569) @@ -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"; Modified: php/php-src/trunk/ext/date/tests/bug32555.phpt =================================================================== --- php/php-src/trunk/ext/date/tests/bug32555.phpt 2011-09-12 20:05:07 UTC (rev 316568) +++ php/php-src/trunk/ext/date/tests/bug32555.phpt 2011-09-12 23:31:22 UTC (rev 316569) @@ -1,5 +1,9 @@ --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 CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php