Re: timezones & date() breakage
| From: | George Schlossnagle | Date: | Wed, 28 Sep 2005 16:43:20 +0000 |
| Subject: | Re: timezones & date() breakage | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19274@lists.php.net to get a copy of this message | ||
On Sep 28, 2005, at 8:54 AM, Derick Rethans wrote:
On Wed, 28 Sep 2005, Steph wrote:Carrying on the stupid questions: Is it possible to make a better 'guess' in the case that there are name-collisions or missing names and no ini setting is set? Perhaps something like determining the current offset from UTC and just choosing the first matching timezone (as well as throwing a E_STRICT error). GeorgeThis is probably a stupid question, but why isn't there a default setting? And why can't the missing default setting be set by the system date() data?That's exactly what I was trying to do, except the fall back abbreviations (IDT) didn't all link to timezone IDs yet (Asia/Tel_Aviv).