Re: php-4.3.6 time tests bad for Solaris
| From: | Derick Rethans | Date: | Tue, 20 Apr 2004 10:41:41 +0000 |
| Subject: | Re: php-4.3.6 time tests bad for Solaris | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-16338@lists.php.net to get a copy of this message | ||
On Tue, 20 Apr 2004, Hans Werner Strube wrote:
> > But MET is only valid for about half of the year due to DST issues so
> > you HAVE to use the Area/City style method of specifying timezones. Or
> > is there another way in Slowaris?
>
> As far as I have seen so far, $TZ = MET implies the correct DST treatment
> in Solaris (7 and 8). I heard rumors this will be changed in future versions.
You're right, it works for MET, but not for PDT:
derick@kossu:~$ export TZ=America/Los_Angeles
derick@kossu:~$ date
Tue Apr 20 03:40:47 PDT 2004
derick@kossu:~$ export TZ=PDT
derick@kossu:~$ date
Tue Apr 20 10:41:06 PDT 2004
regards,
Derick