Re: [rfc] Date, TZ, and Bill or bug #22418
| From: | Tomas V.V.Cox | Date: | Mon, 16 Jun 2003 15:44:46 +0000 |
| Subject: | Re: [rfc] Date, TZ, and Bill or bug #22418 | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17517@lists.php.net to get a copy of this message | ||
Haven't we already a similar thing? ->
http://cvs.php.net/co.php/pear/Date/Date/TimeZone.php?login=2&r=1.3
Tomas V.V.Cox
----- Original Message -----
From: "Pierre-Alain Joye" <paj@pearfr.org>
To: "peardev" <pear-dev@lists.php.net>
Sent: Saturday, June 14, 2003 8:57 PM
Subject: [PEAR-DEV] [rfc] Date, TZ, and Bill or bug #22418
> hello,
>
> Win32 is again a source of weird things :). TZ is not defined with the
> same value on each windows version for the same timezone (and I'm sure
> that even changes on each locale versions of the same windows :P ). See
> bug #22418 (1).
>
> I looked in others langages how they work with TZ,
> they use this nice DB in near all langages (in the core and/or
> specialized modules for date/time). I think wa can go to bundle the open
> TZ database (2) in a suitable format:
>
> Create a common array synced with the open timezone database. The array
> should be synced on each release. Methods to sync it from the online DB
> can solve issues between releases.
>
> This method will make the code really portable. Users should use the
> bundled timezone with their apps.
>
> One problem, BC issues with timezone names...but well ;)
>
> ideas, suggestions?
>
> pierre
>
> (1) http://bugs.php.net/bug.php?id=22418
> (2) http://www.twinsun.com/tz/tz-link.htm
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>