pajoye Sun, 04 Sep 2011 21:59:27 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=316117
Log:
- skip on win, TZs differ with strftime
Changed paths:
U php/php-src/branches/PHP_5_3/ext/date/tests/bug27780.phpt
U php/php-src/branches/PHP_5_4/ext/date/tests/bug27780.phpt
U php/php-src/trunk/ext/date/tests/bug27780.phpt
Modified: php/php-src/branches/PHP_5_3/ext/date/tests/bug27780.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/date/tests/bug27780.phpt 2011-09-04
21:48:22 UTC (rev 316116)
+++ php/php-src/branches/PHP_5_3/ext/date/tests/bug27780.phpt 2011-09-04
21:59:27 UTC (rev 316117)
@@ -1,5 +1,10 @@
--TEST--
Bug #27780 (strtotime(+1 xxx) returns a wrong date/time)
+--SKIPIF--
+<?php
+if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
+ die("skip. Not the same TZ on windows.");
+}
--FILE--
<?php
$timezones = array (
Modified: php/php-src/branches/PHP_5_4/ext/date/tests/bug27780.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/date/tests/bug27780.phpt 2011-09-04
21:48:22 UTC (rev 316116)
+++ php/php-src/branches/PHP_5_4/ext/date/tests/bug27780.phpt 2011-09-04
21:59:27 UTC (rev 316117)
@@ -1,5 +1,10 @@
--TEST--
Bug #27780 (strtotime(+1 xxx) returns a wrong date/time)
+--SKIPIF--
+<?php
+if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
+ die("skip. Not the same TZ on windows.");
+}
--FILE--
<?php
$timezones = array (
Modified: php/php-src/trunk/ext/date/tests/bug27780.phpt
===================================================================
--- php/php-src/trunk/ext/date/tests/bug27780.phpt 2011-09-04 21:48:22 UTC
(rev 316116)
+++ php/php-src/trunk/ext/date/tests/bug27780.phpt 2011-09-04 21:59:27 UTC
(rev 316117)
@@ -1,5 +1,10 @@
--TEST--
Bug #27780 (strtotime(+1 xxx) returns a wrong date/time)
+--SKIPIF--
+<?php
+if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
+ die("skip. Not the same TZ on windows.");
+}
--FILE--
<?php
$timezones = array (
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php