Re: php4 /ext/standard/tests/general_functions sunfuncts.phpt

From: Date: Mon, 17 Feb 2003 05:56:55 +0000
Subject: Re: php4 /ext/standard/tests/general_functions sunfuncts.phpt
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-94288@lists.php.net to get a copy of this message
looks to me unnecessary, since the sixts parameter is the offset. -- "Jani Taskinen" <sniper@iki.fi> wrote in message news:cvssniper1045461063@cvsserver... > sniper Mon Feb 17 00:51:03 2003 EDT > > Modified files: > /php4/ext/standard/tests/general_functions sunfuncts.phpt > Log: > Assuming the results were created in system with Asia/Jerusalem as TZ > > Index: php4/ext/standard/tests/general_functions/sunfuncts.phpt > diff -u php4/ext/standard/tests/general_functions/sunfuncts.phpt:1.2 php4/ext/standard/tests/general_functions/sunfuncts.phpt:1.3 > --- php4/ext/standard/tests/general_functions/sunfuncts.phpt:1.2 Mon Feb 17 00:02:05 2003 > +++ php4/ext/standard/tests/general_functions/sunfuncts.phpt Mon Feb 17 00:51:03 2003 > @@ -4,6 +4,9 @@ > 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)." "; > >

« previous php.dev (#94288) next »