]> granicus.if.org Git - php/commitdiff
Some more tests that needed fixed.
authorScott MacVicar <scottmac@php.net>
Sat, 10 Jan 2009 00:51:04 +0000 (00:51 +0000)
committerScott MacVicar <scottmac@php.net>
Sat, 10 Jan 2009 00:51:04 +0000 (00:51 +0000)
ext/standard/tests/general_functions/sunfuncts.phpt
ext/standard/tests/time/idate.phpt

index 37a86368981270cf790dd5f528196bbe9e969341..59acb122c56b83d36a4df63865d5ad888b312041 100644 (file)
@@ -2,10 +2,9 @@
 date_sunrise() and date_sunset() functions
 --INI--
 precision=13
-date.timezone=Asia/Jerusalem
 --FILE--
 <?php
-
+date_default_timezone_set('Asia/Jerusalem');
 for($a=1;$a<=12;$a++){
        echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_TIMESTAMP,31.76670,35.23330,90.83,2)." ";
        echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_STRING,31.76670,35.23330,90.83,2)." ";
index b78fd30255a4156faa17e745a940279b6a3477ff..0b544054992f8a2eccb869b2447d406200160e57 100644 (file)
@@ -1,9 +1,8 @@
 --TEST--
 idate() function
---INI--
-date.timezone=GMT0
 --FILE--
 <?php
+date_default_timezone_set('GMT0');
 $tmp = "UYzymndjHGhgistwLBIW";
 for($a = 0;$a < strlen($tmp); $a++){
        echo $tmp[$a], ': ', idate($tmp[$a], 1043324459)."\n";