Re: timezones & date() breakage
| From: | Pierre | Date: | Wed, 28 Sep 2005 13:03:48 +0000 |
| Subject: | Re: timezones & date() breakage | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19264@lists.php.net to get a copy of this message | ||
On Wed, 28 Sep 2005 15:59:45 +0300 (IDT)
stas@zend.com (Stanislav Malyshev) wrote:
> DR>>I think this shoul adequately solve the problems that you
> DR>>encountered.
>
> Thanks for finding a way to solve it at least for this example. But I
> am still concerned that it would solve the problem for me, but what
> if I install it somewhere in Finland or Australia and their TZ is not
> working too because it concides with Fiji and Austria and your Db
> doesn't support it? Though if the algorithm takes also GMT offset
> into account it may work (unless we have two TZs with same
> abbreviation, same current settings but different rules - I don't
> know if such beasts exist).
There is no safe solution but using a separate set of functions until
6.0. I tried too many times to explain how complex can be date/time
problems and trying to fix them in a minor release is the best bad idea
of the year.
--Pierre