summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/date/tests/DateInterval_format_a.phpt7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/date/tests/DateInterval_format_a.phpt b/ext/date/tests/DateInterval_format_a.phpt
index f82a2f6f6d..d095db56b3 100644
--- a/ext/date/tests/DateInterval_format_a.phpt
+++ b/ext/date/tests/DateInterval_format_a.phpt
@@ -3,8 +3,13 @@ DateInterval::format(), %a
--CREDITS--
Daniel Convissor <danielc@php.net>
# TestFest 2010 BKTK
+--INI--
+date.timezone=UTC
--SKIPIF--
-<?php if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist"); ?>
+<?php
+if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist");
+if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only");
+?>
--XFAIL--
Windows VC6 libs' floor()/ceil() choke on floats
--FILE--