#35624 [Fbk->Asn]: strtotime doesn't accept 3 character weekdays
| From: | sniper@php.net | Date: | Sat, 10 Dec 2005 18:18:33 +0000 |
| Subject: | #35624 [Fbk->Asn]: strtotime doesn't accept 3 character weekdays | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90209@lists.php.net to get a copy of this message | ||
ID: 35624
Updated by: sniper@php.net
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] tony2001@php.net
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