Re: Patch for Date / Bug 11682 - Australia/Perth has DST
| From: | Firman Wandayandi | Date: | Sat, 28 Jul 2007 06:45:32 +0000 |
| Subject: | Re: Patch for Date / Bug 11682 - Australia/Perth has DST | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-47713@lists.php.net to get a copy of this message | ||
On 7/28/07, Daniel O'Connor <daniel.oconnor@gmail.com> wrote:
>
> > The Date_TimeZone's data array really doesn't up-to-date and I'm
> > trying to synchronizing it with PECL's timezonedb and re-arranging it.
> > But since timezonedb doesn't have enough data as Date_TimeZone's array
> > data, I need to completing the remains manually. This will make time
> > to update it. I will commit the update ASAP.
> >
>
> Would it be worth having some sort of test which iterates over 365 (or more)
> days of a year, and every available timezone, comparing the output of pear
> date to php's DateTime stuff?
> I can't imagine it would be too hard to implement, and it would be easy to
> show only the differences...
>
I mean, just update a timezone array with timezonedb as basis e.g
offset and dst. I won't comparing PEAR:Date with DateTime, there's no
reason for it.
--
Firman Wandayandi <http://firmanw.org/>