ID: 32425
Updated by: [EMAIL PROTECTED]
Reported By: dsacchet at kikamedical dot com
-Status: Open
+Status: Feedback
Bug Type: Date/time related
Operating System: Linux 2.4.27
PHP Version: 4.3.10
New Comment:
WOrks fine for me... which glibc do you use? dsitribution?
Previous Comments:
------------------------------------------------------------------------
[2005-03-23 12:08:22] dsacchet at kikamedical dot com
Description:
------------
hello,
I observed a misbehaviour with out of range value on
the mktime function. When I put a number of seconds
gretear than 59, mktime round up to 59 and don't
increment minutes ...
Best regards
Denis Sacchet
Reproduce code:
---------------
echo date("M-d-Y H:i:s", mktime(8, 0, 60, 12, 31, 1997));
Expected result:
----------------
08:01:00
Actual result:
--------------
08:00:59
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32425&edit=1