Re: timezones & date() breakage
| From: | Zeev Suraski | Date: | Tue, 27 Sep 2005 21:08:37 +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-19221@lists.php.net to get a copy of this message | ||
At 16:49 27/09/2005, Stanislav Malyshev wrote:
Provided that date() worked fine before, I see absolutely no reason to require such complex things now - for doing the same basic things as before. If you need to do andavnced things - that's OK, require advanced configuration, but simple things should be kept simple and work with defaults as they did before.I completely agree. So far, except for meaningless purism, I haven't seen a single real reason for the fact that a working application suddenly stopped working. The old code didn't have IDT hardcoded, therefore all of the sarcasm and cynicism around the validy of the code are completely baseless. It was using a system setting, which I suspect a lot of applications will. The fact date() now tries to be intelligent about it but fail is a real problem. Zeev