]> granicus.if.org Git - php/commitdiff
These two tests both need a timezone
authorRasmus Lerdorf <rasmus@php.net>
Thu, 31 Jan 2008 21:03:32 +0000 (21:03 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Thu, 31 Jan 2008 21:03:32 +0000 (21:03 +0000)
ext/date/tests/bug43075.phpt
ext/date/tests/bug43960.phpt

index 98e01193e2379cc68b0f7ae51873e6e1acf402e2..c2e5bd0513677d560cdf0e56858d4874e61abb45 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #43075 (Support 24 as hour)
+-INI--
+date.timezone=UTC
 --FILE--
 <?php
 $d = date_create("2007-11-01T24:34:00+00:00");
index e1bf48551e80d3746cb55e17dd3594c6c507efde..d635c9ec6173c88fd89ad3c852375028898bbff4 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #43960 (strtotime() returns timestamp in the future when given a bogus string)
+-INI--
+date.timezone=UTC
 --FILE--
 <?php
 var_dump(strtotime('i like to eat slices at work'));