----- Original Message -----
derick Sat Jul  2 17:19:25 2005 EDT
 Log:
 - Overhauled selecting the correct timezone. The timezone set with
"date_timezone_set" override the TZ environment variable, which on its turn overrides the date.timezone setting. If none of the three is set, we fallback
   to UTC.
 - Added "date_timezone_set" function to set the timezone that the date
   functions will use.

Hi Derick et all,

I think that having the date_timezone_set() and date_timezone_get() functions along with the default_timezone ini option is redundant. You can use ini_set()/ini_get() to emulate the functions you added. I don't see a point to have 3 ways to set the TZ setting.. (env, ini, function).


BTW, attached is a patch to fix a couple of test cases (most date related) and the test framework on windows.

Nuno
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to