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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Fri Apr 19 18:01:28 2024 UTC