ID: 35624 Updated by: [EMAIL PROTECTED] Reported By: uwe dot dauernheim at gmx dot de -Status: Feedback +Status: Assigned Bug Type: Date/time related -Operating System: +Operating System: * -PHP Version: 5.1.1 +PHP Version: 5CVS-2005-12-10 (cvs) -Assigned To: +Assigned To: derick New Comment:
It happens with latest CVS too. Previous Comments: ------------------------------------------------------------------------ [2005-12-10 19:17:12] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip ------------------------------------------------------------------------ [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