Re: php-4.3.6 time tests bad for Solaris

From: Date: Tue, 20 Apr 2004 11:56:14 +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-16343@lists.php.net to get a copy of this message
On Tue, 20 Apr 2004, Hans Werner Strube wrote: > > > 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. Yeah, I know. I also don't have Slowaris, this was on Linux. But I also don't have a PST8PDT zone file :I I think we need to adjust the tests so that it checks if a time zone actually exists. It's still weird that some test reports do show wrong results for the test, even if the timezone is supported. regards, Derick

« previous php.qa (#16343) next »