]> granicus.if.org Git - php/commitdiff
Fix date tests which started failing after change to BST
authorandy wharmby <wharmby@php.net>
Mon, 30 Mar 2009 12:35:29 +0000 (12:35 +0000)
committerandy wharmby <wharmby@php.net>
Mon, 30 Mar 2009 12:35:29 +0000 (12:35 +0000)
ext/date/tests/DateTimeZone_getOffset_basic1.phpt
ext/date/tests/timezone_offset_get_basic1.phpt

index 46c0e6af6b09bb012a17e85ac639f536c4f4ed5e..ea3c2804b1b9a1e6e1c58e41160145481ec7203e 100644 (file)
@@ -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
index bf241788dac9d6e93e9c3c33e4e133780c9c0025..aa658e942234d289029c61092a1b455e547020a8 100644 (file)
@@ -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