> 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). -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php