Timezone Guessting (Was: Re: [PHP-DEV] Re: PEAR::Date broken)

From: Date: Wed, 19 Jul 2006 08:54:38 +0000
Subject: Timezone Guessting (Was: Re: [PHP-DEV] Re: PEAR::Date broken)
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-24663@lists.php.net to get a copy of this message
On Wed, 19 Jul 2006, Lester Caine wrote: > Derick Rethans wrote: > > > On Wed, 19 Jul 2006, Lester Caine wrote: > > > > >Andi Gutmans wrote: > > > > > > >I agree completely. Can't we just call the damn thing DateTime stick it > > > >into > > > >RC1 of PHP 5.2, and move on? > > > > > >Gets my vote > > > > > >( Now we just need browsers to return REAL timezone data ;) ) > > > > http://talks.php.net/show/time-phptek6/30 works pretty > > well... (but > > talks.php.net doesn't have it so the example doesn't work there) > > Not sure, but I think that still has the same problem with not knowing the > real timezone/daylight saving of the client? Actually, guessing it from the abbreviation with gmt offset is pretty accurate. Of course, it's not 100% correct but atleast I couldn't find any where it didn't work. Derick

« previous php.internals (#24663) next »