Re: PEAR::Date_Timezone
| From: | Lorenzo Alberton | Date: | Mon, 02 Jun 2003 11:45:43 +0000 |
| Subject: | Re: PEAR::Date_Timezone | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-16896@lists.php.net to get a copy of this message | ||
What about this patch? Is it going to be applied?
http://marc.theaimsgroup.com/?l=pear-dev&m=105173906326619&w=2
BTW, is it related to this one? http://bugs.php.net/bug.php?id=22418
Best regards,
Lorenzo
At 04/30/2003 21:44 +0100, you wrote:
Hi, today I almost went insane when I finally tried to solve a bug that was haunting me for days. The problem seems that PEAR::Date_Timezone kills the timezone in the inDaylightTime method due to its reliance on getenv('TZ'). Even if false is return it overwrites the old setting of 'TZ' and since getenv('TZ') did not work it cant restore the old 'TZ' setting. [...]