I see that in PHP5.1 the handling of date() was changed, and now I see
that at least on my machine (and all machines we have, actually) all
date() functions suddently started to return dates in UTC and spit out
warnings.
I understand that it was due to some improvement of timezone
handling, but seems that this improvement didn't actually improve things,
at least not for us.
While everything worked just fine before, I can not use date() function
anymore. I guess this is because the built-in library that is now in
charge for timezones does not recognize my timezone. I think using library
that has internal fixed timezone list which is not the same as OSs
tiemzone list is extermely unfortunate choice. While setting up timezone
on user's OS is pretty much standard procedure (at least, any qualified
sysadmin knows to do this and one can rely on it being done before PHP is
run), I have no idea how can I make PHP to recognize my timezone now and
thus besically what I have is that all date() functions are broken for me.
Is there any easy way to fix it? If so, it should be explicitly stated in
date()'s manual, if not, I think it should be fixed ASAP.
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php