pajoye          Thu Aug 21 18:36:44 2008 UTC

  Modified files:              
    /php-src/ext/standard/tests/general_functions       sunfuncts.phpt 
  Log:
  - use date.timezone ini setting
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/sunfuncts.phpt?r1=1.11&r2=1.12&diff_format=u
Index: php-src/ext/standard/tests/general_functions/sunfuncts.phpt
diff -u php-src/ext/standard/tests/general_functions/sunfuncts.phpt:1.11 
php-src/ext/standard/tests/general_functions/sunfuncts.phpt:1.12
--- php-src/ext/standard/tests/general_functions/sunfuncts.phpt:1.11    Tue Jun 
20 13:14:20 2006
+++ php-src/ext/standard/tests/general_functions/sunfuncts.phpt Thu Aug 21 
18:36:44 2008
@@ -2,11 +2,10 @@
 date_sunrise() and date_sunset() functions
 --INI--
 precision=13
+date.timezone=Asia/Jerusalem
 --FILE--
 <?php
 
-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)."
 ";



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to