Doc #61896 [Opn->Csd]: Invalid default value of the lenient for IntlDateFormatter

From: Date: Thu, 03 May 2012 06:16:43 +0000
Subject: Doc #61896 [Opn->Csd]: Invalid default value of the lenient for IntlDateFormatter
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8336@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61896&edit=1 ID: 61896 Updated by: takagi@php.net Reported by: kubo at iteman dot jp Summary: Invalid default value of the lenient for IntlDateFormatter -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: takagi 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: ------------------------------------------------------------------------ [2012-05-03 06:12:59] takagi@php.net Automatic comment from SVN on behalf of takagi Revision: http://svn.php.net/viewvc/?view=revision&revision=325509 Log: Correct default value of the leniency of the parser. Close #61896. ------------------------------------------------------------------------ [2012-05-02 06:17:23] kubo at iteman dot jp Description: ------------ The documentation says "The default value of the lenient for the IntlDateFormatter class is false (strict)." but actually the default value is true (not strict). Specifically, the documentation of the IntlDateFormatter::isLenient() method (http://www.php.net/manual/en/intldateformatter.islenient.php) is written as the following: ... Return Values: TRUE if parser is lenient, FALSE if parser is strict. *By default the parser is strict*. and the documentation of the IntlDateFormatter::setLenient() method (http://www.php.net/manual/en/intldateformatter.setlenient.php) is written as the following: ... Parameters: ... lenient Sets whether the parser is lenient or not, *default is FALSE (strict)*. In both cases, the default parser is lenient actually. And also their examples have shown that the default parser is lenient. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61896&edit=1

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