Re: cvs: php-src / NEWS /ext/date php_date.c php_date.h /ext/date/tests bug26198.phpt bug29585.phpt
default-timezone-2.phpt timezone-configuration.phpt
| From: | Derick Rethans | Date: | Sun, 03 Jul 2005 11:57:21 +0000 |
| Subject: | Re: cvs: php-src / NEWS /ext/date php_date.c php_date.h /ext/date/tests bug26198.phpt bug29585.phpt default-timezone-2.phpt timezone-configuration.phpt |
||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17088@lists.php.net to get a copy of this message | ||
On Sun, 3 Jul 2005, Nuno Lopes wrote:
> 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).
It is needed, as the TZ overrides the default setting, and you need to
be able to override this setting in your script. I don't want people to
rely on an environment variable.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org