#38229 [Asn->Csd]: echo date("Y-m-d",strtotime('2006-03'));
| From: | iliaa@php.net | Date: | Thu, 27 Jul 2006 13:01:13 +0000 |
| Subject: | #38229 [Asn->Csd]: echo date("Y-m-d",strtotime('2006-03')); | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100006@lists.php.net to get a copy of this message | ||
ID: 38229
Updated by: iliaa@php.net
Reported By: yichengjun at 163 dot com
-Status: Assigned
+Status: Closed
Bug Type: Date/time related
Operating System: windows xp
PHP Version: 5.1.4
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:
------------------------------------------------------------------------
[2006-07-27 03:03:22] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38229&edit=1