php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
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

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-03-31 04:45 UTC] laruence@php.net
-Assigned To: +Assigned To: derick
 [2015-03-31 04:45 UTC] laruence@php.net
@derik, any ideas ?
 [2015-03-31 04:48 UTC] laruence@php.net
I found this from ext/date/tests/bug67109.php (which starts fail today)
 [2015-03-31 05:21 UTC] demon@php.net
-PHP Version: 5.5.23 +PHP Version: All
 [2015-03-31 05:21 UTC] demon@php.net
It happens in All version, see: http://3v4l.org/kWMJ4
 [2015-03-31 15:37 UTC] derick@php.net
Automatic comment on behalf of github@derickrethans.nl
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ffbd380e4483a5b36733cfd99fab779008082d11
Log: Fixed bug #69336 (Issues with "last day of <monthname>").
 [2015-03-31 15:37 UTC] derick@php.net
-Status: Assigned +Status: Closed
 [2015-03-31 15:45 UTC] jpauli@php.net
Automatic comment on behalf of github@derickrethans.nl
Revision: http://git.php.net/?p=php-src.git;a=commit;h=30123005fff7f6852996ae6eb5e265ab7adf757f
Log: Fixed bug #69336 (Issues with "last day of <monthname>").
 [2015-04-14 08:31 UTC] stas@php.net
Automatic comment on behalf of github@derickrethans.nl
Revision: http://git.php.net/?p=php-src.git;a=commit;h=30123005fff7f6852996ae6eb5e265ab7adf757f
Log: Fixed bug #69336 (Issues with "last day of <monthname>").
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 11:01:28 2024 UTC