Re: timezones & date() breakage
| From: | Steph | Date: | Wed, 28 Sep 2005 13:00:39 +0000 |
| Subject: | Re: timezones & date() breakage | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19262@lists.php.net to get a copy of this message | ||
> I wouldn't call it broken, just less inituitive. But besides that point,
> I looked at some data and have a patch that allows the timezone guessing
> code to also check against the GMT offset, and not only the
> abbreviation. This means that with these DB entries:
>
> { "idt", 1, -HOUR ( 3), "Asia/Tel_Aviv" },
> { "idt", 1, -HOUR (4.5), "Iran/Teheran" },
> { "idt", 1, -HOUR (6.5), "Asia/Calcutta" },
>
> IDT will be recognised correctly for all three variations.
Cool, you can generate a sane E_STRICT from that too (telling people what
they need in their php.ini to speed things up).