Doc #66477 [Ver->Csd]: Small error in example of IntlDateFormatter::setLenient

From: Date: Mon, 20 Apr 2015 15:27:59 +0000
Subject: Doc #66477 [Ver->Csd]: Small error in example of IntlDateFormatter::setLenient
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12217@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66477&edit=1 ID: 66477 Updated by: pasindu@php.net Reported by: hello at apfelbox dot net Summary: Small error in example of IntlDateFormatter::setLenient -Status: Verified +Status: Closed Type: Documentation Problem Package: intl PHP Version: Irrelevant -Assigned To: +Assigned To: pasindu 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: ------------------------------------------------------------------------ [2015-04-20 15:26:55] pasindu@php.net Automatic comment from SVN on behalf of pasindu Revision: http://svn.php.net/viewvc/?view=revision&revision=336605 Log: Fix #66477 ( By Christoph Becker ) ------------------------------------------------------------------------ [2015-04-17 18:32:46] cmb@php.net The following patch has been added/updated: Patch Name: set-lenient-ex.patch Revision: 1429295566 URL: https://bugs.php.net/patch-display.php?bug=66477&patch=set-lenient-ex.patch&revision=1429295566 ------------------------------------------------------------------------ [2014-01-13 15:22:34] hello at apfelbox dot net Description: ------------ Hi, the example uses $fmt = datefmt_create( // ... 'dd/mm/yyyy' ); instead it should probably be "MM", since "MM" marks months and "mm" is for minutes. See: http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66477&edit=1

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