Re: [PHP-DEV] Re: Bug #9878 Updated: gmmktime is 1 hour off during standard time From: Wez Furlong (wez <email protected>)
Date: 05/05/01

On 2001-05-05 23:06:09, "Rasmus Lerdorf" <rasmus <email protected>> 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.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>