Doc #70036 [Ver]: DateTime::createFromFormat/date_create_from_format return value not "formatted"

From: Date: Wed, 05 Oct 2016 17:02:46 +0000
Subject: Doc #70036 [Ver]: DateTime::createFromFormat/date_create_from_format return value not "formatted"
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13990@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70036&edit=1 ID: 70036 Updated by: cmb@php.net Reported by: chealer at gmail dot com Summary: DateTime::createFromFormat/date_create_from_format return value not "formatted" Status: Verified Type: Documentation Problem Package: Date/time related PHP Version: Irrelevant Assigned To: cmb Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2016-10-05 17:02:23] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&revision=340326 Log: Fix #70036: DateTime::createFromFormat/date_create_from_format return value not "formatted" ------------------------------------------------------------------------ [2015-07-09 18:14:06] chealer at gmail dot com Description: ------------ date_create_from_format() returns a DateTime object. That object is not "formatted" in any way, yet the functions's description reads: Returns new DateTime object formatted according to the specified format Clearly, what the author meant was: Returns a new DateTime object representing the date and time specified by the specified string, which was formatted in the specified format --- From manual page: http://www.php.net/datetime.createfromformat --- ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70036&edit=1

« previous php.doc.bugs (#13990) next »