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

From: Date: Wed, 07 Nov 2001 14:22:20 +0000
Subject: 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-69762@lists.php.net to get a copy of this message
ID: 9878
Updated by: jmoore
Reported By: bfoddy@mn.mediaone.net
Old Status: Open
Status: Closed
Bug Type: Date/time related
Operating System: Solaris 2.6
PHP Version: 4.0.4pl1
New Comment:

Fixed in CVS

Previous Comments:
------------------------------------------------------------------------

[2001-10-21 21:07:02] sniper@php.net

Missing status.


------------------------------------------------------------------------

[2001-07-13 10:50:06] bfoddy@mn.mediaone.net

Can we try to get this patch in 4.0.7?  Its not as critical
an issue during the summer, but the standard time will
be here before you know it.

------------------------------------------------------------------------

[2001-05-07 14:10:13] bfoddy@mn.mediaone.net

Sorry, I replied to the email, but it didn't get logged to
the record.

Yes I'm sure Solaris2.6 does not have the tm_gmtoff value in 
tm struct.  Linux does, perhaps newer Solaris do also, I
don't know.  But definately 2.6 does not have the value
so the config does not set the HAVE_TM_GMTOF defined.

I supposed to test on Linux you could rebuild php and
override this define.

If its any help, we are using the patch I suggested on a
production Solaris server and it worked fine on both
sides of the time shift in April.

------------------------------------------------------------------------

[2001-05-07 12:52:14] derick@php.net

Waiting for feedback on Rasmus' question.

------------------------------------------------------------------------

[2001-05-05 15:40:26] rasmus@php.net

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.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/?id=9878


Edit this bug report at http://bugs.php.net/?id=9878&edit=1



Thread (1 message)

  • jmoore@php.net
  • Unknown Message
    • jmoore@php.net
« previous php.dev (#69762) next »