Re: php-4.3.6 time tests bad for Solaris

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: php-4.3.6 time tests bad for Solaris
Groups: php.qa 
Request: Send a blank email to php-qa+get-16340@lists.php.net to get a copy of this message
> > 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 This may merely indicate that there is no file /usr/share/lib/zoneinfo/PDT in your Solaris installation. (It is also missing in mine, only PST8PDT exists.) In such a case, GMT is tacitly assumed.

« previous php.qa (#16340) next »