Date: 05/05/01
- Next message: teo <email protected>: "Re: [PHP-DEV] (change request) PHP 4.0 Bug Summary Report"
- Previous message: Brian Foddy: "[PHP-DEV] Re: Bug #9878 Updated: gmmktime is 1 hour off during standard time"
- In reply to: Brian Foddy: "[PHP-DEV] Re: Bug #9878 Updated: gmmktime is 1 hour off during standard time"
- Next in thread: Wez Furlong: "Re: [PHP-DEV] Re: Bug #9878 Updated: gmmktime is 1 hour off during standard time"
- Reply: Wez Furlong: "Re: [PHP-DEV] Re: Bug #9878 Updated: gmmktime is 1 hour off during standard time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
-Rasmus
On Sat, 5 May 2001, Brian Foddy wrote:
> On 5 May 2001 19:40:27 -0000, Bug Database wrote:
>
> >ID: 9878
> >Updated by: rasmus
> >Reported By: bfoddy <email protected>
> >Old-Status: Open
> >Status: Analyzed
> >Bug Type: Date/time related
> >PHP Version: 4.0.4pl1
> >Assigned To:
> >Comments:
> >
> >Are you sure that bit of code applies in your case? ie. is HAVE_TM_GMTOFF undefined in your
> main/php_config.h file? I am unable to recreate this problem here, but on my Linux box my gmadjust
> value comes straight from the libc system call ie. I have HAVE_TM_GMTOFF defined.
> >
> >Previous Comments:
>
>
> Yes, Solaris 2.6 does not have the tm_gmtoff value
> in the tm structure in time.h, and correspondingly the
> php_config.h does not define the HAVE_TM_GMTOFF value. I don't know
> if newer versions of Solaris have this value. My linux has the value.
>
> I suppose you can rebuild your Linux and override this define to
> try and duplicate the problem. Also remember it only happens
> during the standard timezone which ended in early April in the US.
>
> If its any help, I'm using the exact patch I suggested on our
> production Solaris environment and it worked fine before and after
> the time shift.
>
> Until your note, I didn't know how common this value even is in the
> structure, I'll have to make note of it for later use.
> Thanks,
> Brian
>
>
>
>
-- 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>
- Next message: teo <email protected>: "Re: [PHP-DEV] (change request) PHP 4.0 Bug Summary Report"
- Previous message: Brian Foddy: "[PHP-DEV] Re: Bug #9878 Updated: gmmktime is 1 hour off during standard time"
- In reply to: Brian Foddy: "[PHP-DEV] Re: Bug #9878 Updated: gmmktime is 1 hour off during standard time"
- Next in thread: Wez Furlong: "Re: [PHP-DEV] Re: Bug #9878 Updated: gmmktime is 1 hour off during standard time"
- Reply: Wez Furlong: "Re: [PHP-DEV] Re: Bug #9878 Updated: gmmktime is 1 hour off during standard time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

