]> granicus.if.org Git - php/commitdiff
Assuming the results were created in system with Asia/Jerusalem as TZ
authorfoobar <sniper@php.net>
Mon, 17 Feb 2003 05:51:03 +0000 (05:51 +0000)
committerfoobar <sniper@php.net>
Mon, 17 Feb 2003 05:51:03 +0000 (05:51 +0000)
ext/standard/tests/general_functions/sunfuncts.phpt

index f2af1b88d2761a604aa94f2082c86cc36e5f936d..9f3af6e7f9914a278d6772267e264658a95b1766 100644 (file)
@@ -4,6 +4,9 @@ date_sunrise() and date_sunset() functions
 precision = 14
 --FILE--
 <?
+
+putenv ("TZ=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)." ";