Re: php-4.3.6 time tests bad for Solaris

From: Date: Fri, 30 Apr 2004 10:19:52 +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-16808@lists.php.net to get a copy of this message
On Tue, 20 Apr 2004, Hans Werner Strube wrote: > > It's still weird that > > some test reports do show wrong results for the test, even if the > > timezone is supported. > > I repeated the tests in Solaris 7 using > make test TESTS="echo > ext/standard/tests/time/*.phpt" > and found a single failure only: > FAIL Bug #27780 (strtotime(+1 xxx) returns a wrong date/time) > [ext/standard/tests/time/bug27780.phpt] > (the mktime() test was now passed). > > Looking at the diff file, this turned out to be not an actual failure but > a different naming of timezones in the Solaris output compared to the > assumed output: CET -> MET, CEST -> MET, IDT -> IST, BRST -> EST, > BRT -> EST. The numerical values were all correct! But CEST should me MEST, not MET and IDT is the DST variant of IST. And BRST is *definitely* different from EST regarding DST changeover dates and directions. I do think it's still not a bug in PHP though, but one in Solaris. Derick

« previous php.qa (#16808) next »