Re: timezones & date() breakage
| From: | Derick Rethans | Date: | Tue, 27 Sep 2005 13:09:31 +0000 |
| Subject: | Re: timezones & date() breakage | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19194@lists.php.net to get a copy of this message | ||
On Tue, 27 Sep 2005, Stanislav Malyshev wrote:
> There's no any sarcasm - I really do want date() to work like it did
> before. It is OK to give additional capability for timezone changing, etc.
> - but I don't see why this should be at the cost of making previously
> working code now require additional configuration that - as it seems - can
> not even be done automatically, since the configuration value is not
> present anywhere in the system settings.
That's the reason why we try to guess it - which works often, but not in
your case with IDT.
> I propose to make some mode to date() that would allow falling back to old
> functionality if I do not use new improved capabilities. Meaning, if I do
> not set new configurations, it would work as it did in PHP4. Is this
> possible?
Not really. You really do need to make the configuration setting as none
of the code currently relies on any OS, and we should definitely keep it
like that. Now, what we can do is document the list of setttings that
you can use as timezone.
regards,
Derick