ID: 35624 Updated by: [EMAIL PROTECTED] Reported By: uwe dot dauernheim at gmx dot de -Status: Assigned +Status: Closed Bug Type: Date/time related Operating System: * PHP Version: 5CVS-2005-12-10 (cvs) Assigned To: derick New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-12-10 19:18:32] [EMAIL PROTECTED] It happens with latest CVS too. ------------------------------------------------------------------------ [2005-12-10 19:11:47] uwe dot dauernheim at gmx dot de Description: ------------ The function strtotime() does not work correctly, when using three character weekdays. Reproduce code: --------------- echo date('D', strtotime('mon')); Expected result: ---------------- Mon Actual result: -------------- (Suggest it's saturday) Mon (5.0.4) Mon (5.0.5) Sat (5.1.0) Sat (5.1.1) ? (CVS) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35624&edit=1