php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #70209 date_parse does not parse all formats strtotime does
Submitted: 2015-08-07 19:49 UTC Modified: 2015-08-07 21:03 UTC
From: me at jdavidbaker dot com Assigned: cmb (profile)
Status: Closed Package: Date/time related
PHP Version: 5.5.28 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: me at jdavidbaker dot com
New email:
PHP Version: OS:

 

 [2015-08-07 19:49 UTC] me at jdavidbaker dot com
Description:
------------
---
From manual page: http://www.php.net/function.date-parse
---
date
Date in format accepted by strtotime().
---
date_parse does not parse several strings strtotime() does, i.e. 'now' or 'today' or '+1 week' etc.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-07 21:03 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=337325
Log: documented parsing of relative formats (fixes #70209)
 [2015-08-07 21:03 UTC] cmb@php.net
-Status: Open +Status: Closed -Package: Documentation problem +Package: Date/time related -Assigned To: +Assigned To: cmb
 [2015-08-07 21:03 UTC] cmb@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 00:01:32 2024 UTC