Re: [PATCH] date/timelib: use system timezone database
| From: | Derick Rethans | Date: | Thu, 10 Jan 2008 08:42:29 +0000 |
| Subject: | Re: [PATCH] date/timelib: use system timezone database | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34627@lists.php.net to get a copy of this message | ||
On Wed, 9 Jan 2008, Larry Garfield wrote:
>
> On Wed, 9 Jan 2008 17:14:29 -0300, "Cristian Rodriguez"
> <judas.iscariote@gmail.com> wrote:
> > 2008/1/9, Derick Rethans <derick@php.net>:
> >
> >> Why do you need this?
> >
> > It is simple, even releasing an update for a particular extension,
> > trigger the whole manteniance and QA in distributions, and it
> > unneccesary work , when the system tz is used you have QA and mantain
> > just one component, the "timezone" package.
> >
> > jfyi: in a complete distribution, there are only 3 components that has
> > this highly questionable behaviuor, Evolution, PHP and JAVA all the
> > other hundred of components do the right thing or at least offer an
> > option just like the Joe's patch.
>
> If a PECL module can override PHP's built-in tz database with its own,
> shouldn't it be possible to write a PECL module that always overrides
> it and then stubs out to the system tz database? That sounds like an
> "option just like Joe's patch" that should work fine.
Not really, as the patch has other issues as well, which are not
addressed by just doing this. (f.e. the enumeration of identifiers).
regards,
Derick