cvs: php4 /ext/standard/tests/general_functions sunfuncts.phpt
| From: | Jani Taskinen | Date: | Mon, 17 Feb 2003 05:51:03 +0000 |
| Subject: | cvs: php4 /ext/standard/tests/general_functions sunfuncts.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18903@lists.php.net to get a copy of this message | ||
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)."
";