PHP :: Bug #38229 :: echo date("Y-m-d",strtotime('2006-03'));
| Bug #38229 | echo date("Y-m-d",strtotime('2006-03')); | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2006-07-27 03:03 UTC | Modified: | 2006-07-27 13:01 UTC |
|
||||||||||
| From: | yichengjun at 163 dot com | Assigned: | ||||||||||||
| Status: | Closed | Package: | Date/time related | |||||||||||
| PHP Version: | 5.1.4 | OS: | windows xp | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2006-07-27 03:03 UTC] yichengjun at 163 dot com
Description:
------------
echo date("Y-m-d",strtotime('2006-03'));
Reproduce code:
---------------
echo date("Y-m-d",strtotime('2006-03'));
Expected result:
----------------
2006-03-01
Actual result:
--------------
2006-07-28
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2006-07-27 13:01 UTC] iliaa@php.net