ID: 30096
Comment by: gottwald at quantum-hydrometrie dot de
Reported By: schmidt_florian at f-24 dot com
Status: Assigned
Bug Type: Date/time related
Operating System: Linux 2.6.7 (debian unstable)
PHP Version: 4.3.8
Assigned To: derick
New Comment:
This is still broken for 4.3.10. gmmktime() is correct when changing
from DST to non-DST, but incorrect when changing from non-DST to DST:
gmmktime(02, 00, 00, 10, 31, 2004): 1099188000
gmmktime(03, 00, 00, 10, 31, 2004): 1099191600
Diff: 3600, correct
gmmktime(02, 00, 00, 03, 27, 2005): 1111892400
gmmktime(03, 00, 00, 03, 27, 2005): 1111892400
Diff: 0, broken
Previous Comments:
------------------------------------------------------------------------
[2004-09-16 08:23:23] [EMAIL PROTECTED]
Rasmus, I can reproduce it here. No clue why yet. I guess I have
something to do on the next plane ;-)
------------------------------------------------------------------------
[2004-09-15 19:11:24] schmidt_florian at f-24 dot com
the timezone should!! be irrelevant thats the reason i use
gmmktime()... but it dont work?!
------------------------------------------------------------------------
[2004-09-15 19:05:31] [EMAIL PROTECTED]
Looks ok on my Debian laptop:
php -r 'echo phpversion()."\n"; echo gmdate("H,i,s, m,d,Y",
gmmktime(02,00,01, 03,28,2004));'
4.3.9RC2-dev
02,00,01, 03,28,2004
Since we are dealing with GMT, your timezone should be irrelevant.
------------------------------------------------------------------------
[2004-09-15 17:18:37] [EMAIL PROTECTED]
I'll have a look
------------------------------------------------------------------------
[2004-09-15 16:45:24] schmidt_florian at f-24 dot com
its called debian...
------------------------------------------------------------------------
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/30096
--
Edit this bug report at http://bugs.php.net/?id=30096&edit=1