]> granicus.if.org Git - php/commitdiff
- skip on win, TZs differ with strftime
authorPierre Joye <pajoye@php.net>
Sun, 4 Sep 2011 21:59:27 +0000 (21:59 +0000)
committerPierre Joye <pajoye@php.net>
Sun, 4 Sep 2011 21:59:27 +0000 (21:59 +0000)
ext/date/tests/bug27780.phpt

index bd3bc949bd2b9b6c0ec0653468ff865324b01c10..af35b8fbf02cb0e4969f80046db884fce95d1325 100644 (file)
@@ -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 (