ID: 39912
Updated by: [EMAIL PROTECTED]
Reported By: pkus at epf dot pl
-Status: Open
+Status: Assigned
-Bug Type: *General Issues
+Bug Type: Date/time related
Operating System: windows xp
PHP Version: 5.2.0
-Assigned To:
+Assigned To: derick
Previous Comments:
------------------------------------------------------------------------
[2006-12-20 20:33:01] pkus at epf dot pl
Description:
------------
bug was reported earlier and closed
Bug #33957 gmdate('W')/date('W') sometimes returns wrong week
number.
Reproduce code:
---------------
print_r(date('W', mktime(0,0,0,12,31,2007)));
//returns 01 but should return 53
Expected result:
----------------
//returns 01 but should return 53
Actual result:
--------------
01
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39912&edit=1