From: andy wharmby Date: Mon, 30 Mar 2009 12:35:31 +0000 (+0000) Subject: Fix date tests which started failing after change to BST X-Git-Tag: php-5.3.0RC2~254 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76b30f6434af284bcddee49e248081ca992a361d;p=php Fix date tests which started failing after change to BST --- diff --git a/ext/date/tests/DateTimeZone_getOffset_basic1.phpt b/ext/date/tests/DateTimeZone_getOffset_basic1.phpt index 46c0e6af6b..ea3c2804b1 100644 --- a/ext/date/tests/DateTimeZone_getOffset_basic1.phpt +++ b/ext/date/tests/DateTimeZone_getOffset_basic1.phpt @@ -27,7 +27,7 @@ var_dump( $tz3->getOffset($date) ); ===DONE=== --EXPECTF-- *** Testing DateTimeZone::getOffset() : basic functionality *** -int(0) +%rint\(0\)|int\(3600\)%r %rint\(-18000\)|int\(-14400\)%r %rint\(-28800\)|int\(-25200\)%r ===DONE=== \ No newline at end of file diff --git a/ext/date/tests/timezone_offset_get_basic1.phpt b/ext/date/tests/timezone_offset_get_basic1.phpt index bf241788da..aa658e9422 100644 --- a/ext/date/tests/timezone_offset_get_basic1.phpt +++ b/ext/date/tests/timezone_offset_get_basic1.phpt @@ -28,7 +28,7 @@ var_dump(timezone_offset_get($tz, $date)); ===DONE=== --EXPECTF-- *** Testing timezone_offset_get() : basic functionality *** -int(0) +%rint\(0\)|int\(3600\)%r %rint\(-18000\)|int\(-14400\)%r %rint\(-28800\)|int\(-25200\)%r ===DONE=== \ No newline at end of file