Re: [PATCH] date/timelib: use system timezone database

From: Date: Fri, 11 Jan 2008 08:44:42 +0000
Subject: Re: [PATCH] date/timelib: use system timezone database
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-34686@lists.php.net to get a copy of this message
On Thu, 10 Jan 2008, Cristian Rodriguez wrote: > 2008/1/10, Pierre <pierre.php@gmail.com>: > > > If distros start to use the > > system timezone > > Distros use system timezonedb for %99 of the other components(some of > them far more critical than PHP) , why PHP has to be special ? Because if PHP application developers want to deal with timezones correctly, they need to be able to rely on certain functionality and data availability. PHP can not simply use the default OS system calls as they do not expose enough information, therefore we do have to read the database files directly. At the moment we basically concatenate all the database files and give it an index. Parsing the database files could be optimized more if we have control over this format (which we have at the moment). It is quite possible that in the future we do munge the database much more than just a concattenation of all files to increase performance. regards, Derick

« previous php.internals (#34686) next »