Re: Re: Bug #9878 Updated: gmmktime is 1 hour off during standard time

From: Date: Sat, 05 May 2001 23:53:50 +0000
Subject: Re: Re: Bug #9878 Updated: gmmktime is 1 hour off during standard time
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-54047@lists.php.net to get a copy of this message
On 2001-05-05 23:06:09, "Rasmus Lerdorf" <rasmus@php.net> wrote: > Andrei, you made the change from: > > gmadjust = -(is_dst ? altzone : timezone + (timezone - altzone)); > to: > gmadjust = -(is_dst ? timezone - 3600 : timezone + 3600); > > These don't look logically equivalent to me. Can you CC me the outcome of this? There is some code in the openSSL extension that looks similar, although I believe it to be correct due to a patch from someone who doesn't have the GMT offset support in libc. Maybe that will help you too? --Wez.

« previous php.dev (#54047) next »