Bug #77820 [Opn->Nab]: strtotime function errror
| From: | requinix@php.net | Date: | Fri, 29 Mar 2019 06:52:45 +0000 |
| Subject: | Bug #77820 [Opn->Nab]: strtotime function errror | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-220248@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77820&edit=1
ID: 77820
Updated by: requinix@php.net
Reported by: yogesh at innovins dot com
Summary: strtotime function errror
-Status: Open
+Status: Not a bug
Type: Bug
Package: *General Issues
Operating System: Windows 10
PHP Version: 7.3.3
Block user comment: N
Private report: N
New Comment:
https://bugs.php.net/search.php?search_for=strtotime&order_by=ts1&direction=DESC&cmd=display&status=Not+a+bug
Previous Comments:
------------------------------------------------------------------------
[2019-03-29 06:50:34] yogesh at innovins dot com
Description:
------------
---
From manual page: https://php.net/function.strtotime
---
Please check below function. If you use this function on 29th/30th March, The result we are getting
is March 2019. Maybe this bug happens only because the Feb month has only 28 days. You should fix
this bug.
Test script:
---------------
echo date("F Y", strtotime("-1 month" ));
Expected result:
----------------
February 2019
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77820&edit=1