Re: timezones & date() breakage

From: Date: Thu, 29 Sep 2005 17:55:34 +0000
Subject: Re: timezones & date() breakage
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  Groups: php.internals 
Request: Send a blank email to internals+get-19276@lists.php.net to get a copy of this message
It looks like all become relaxed now here but not me. Here in Israel, there is stupid habit to change the DST range almost each year. Should i expect that today's php5.1 date() function 'll give me wrong date next year? If yes, we have here fatal BC break since modern server OS DST data is automatically refreshed, but out of the question the php version on my servers .... the only reasonable solution is separated set of functions as Pierre proposed. Moshe "Derick Rethans" <derick@php.net> wrote in message news:Pine.LNX.4.62.0509281552110.24804@localhost... > On Wed, 28 Sep 2005, Stanislav Malyshev wrote: > >> DR>>> too because it concides with Fiji and Austria and your Db doesn't >> support >> DR>>> it? >> DR>> >> DR>>I don't see your point here, can you clarify this with a little >> example >> DR>>perhaps? >> >> Well, that's the same problem I had but it would be not IDT, but, say, >> some FDT which has multiple timezones too. Now if you say it would be >> generated from some big TZ database and not just fixed for particular >> case then I guess it would not be a concern. > > Right, of course fixing it for IDT only would be silly :) > > regards, > Derick > > -- > Derick Rethans > http://derickrethans.nl | > http://ez.no | http://xdebug.org

« previous php.internals (#19276) next »