#35624 [Asn->Opn]: strtotime doesn't accept 3 character weekdays

From: Date: Sat, 10 Dec 2005 18:17:13 +0000
Subject: #35624 [Asn->Opn]: strtotime doesn't accept 3 character weekdays
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-90207@lists.php.net to get a copy of this message
ID: 35624 Updated by: tony2001@php.net Reported By: uwe dot dauernheim at gmx dot de -Status: Assigned +Status: Open Bug Type: Date/time related Operating System: * -PHP Version: 5CVS-2005-12-10 (cvs) +PHP Version: 5.1.1 Assigned To: derick New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#90207) next »