Re: timezones & date() breakage
| From: | Stanislav Malyshev | Date: | Wed, 28 Sep 2005 11:43:36 +0000 |
| Subject: | Re: timezones & date() breakage | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19242@lists.php.net to get a copy of this message | ||
LS>>It seems evident that the old magic never worked reliably exactly for those
LS>>people that are now seemingly adversly affected by the current changes. Its
It doesn't seem evident to me. For me it worked flawlessly and did
exactly what I wanted it to do - show current time on the machine in the
format I tell it to.
LS>>just that what worked by chance may not work anymore and vice versa.
No, it didn't work "by chance" - it worked because it used standard OS
services which worked.
LS>>its going to be impossible to get the new code to behave exactly like the
LS>>old code in all cases.
What do you mean by "in all cases"? You mean "it doesn't behave like old
code unless you live in UTC timezone"? Well, most people don't live in
UTC timezone.
LS>>So it seems to me like its inevitable that we at somepoint force our users
LS>>to a proper portable solution as we drop the old solution. Now the question
I do not think solution that breaks working code is "proper", unless in
your dictionary "proper" means "it works for me and others may STFU".
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115