PHP :: Bug #69336 :: Parsing error of strtotime
| Bug #69336 | Parsing error of strtotime | ||||
|---|---|---|---|---|---|
| Submitted: | 2015-03-31 04:45 UTC | Modified: | 2015-03-31 05:21 UTC | ||
| From: | laruence@php.net | Assigned: | derick (profile) | ||
| Status: | Closed | Package: | *General Issues | ||
| PHP Version: | All | OS: | |||
| Private report: | No | CVE-ID: | None | ||
[2015-03-31 04:45 UTC] laruence@php.net
Description:
------------
Today is 31,3,2015
Test script:
---------------
$ php55 -d date.timezone=UTC -r "var_dump(date('d.m.Y',strtotime('last day of april')));"
Expected result:
----------------
string(10) "30.04.2015"
Actual result:
--------------
string(10) "31.05.2015"
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2015-03-31 04:48 UTC] laruence@php.net
[2015-03-31 05:21 UTC] demon@php.net
-PHP Version: 5.5.23 +PHP Version: All
[2015-03-31 15:37 UTC] derick@php.net
-Status: Assigned +Status: Closed