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

From: Date: Wed, 05 Oct 2016 15:00:15 +0000
Subject: Bug->Doc #70036 [Opn->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-13989@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: Open +Status: Verified -Type: Bug +Type: Documentation Problem -Package: Documentation problem +Package: Date/time related PHP Version: Irrelevant -Assigned To: +Assigned To: cmb Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [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 (#13989) next »