Doc #54166 [Opn->Csd]: localtime tm_mday, tm_wday docs

From: Date: Wed, 27 Apr 2011 12:10:38 +0000
Subject: Doc #54166 [Opn->Csd]: localtime tm_mday, tm_wday docs
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6301@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54166&edit=1 ID: 54166 Updated by: salathe@php.net Reported by: chuchelo at gmail dot com Summary: localtime tm_mday, tm_wday docs -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: salathe 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: ------------------------------------------------------------------------ [2011-04-27 14:07:38] salathe@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&revision=310555 Log: tidy localtime descriptions (doc #54166) ------------------------------------------------------------------------ [2011-03-05 07:04:58] chuchelo at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.localtime#Parameters --- Description of values is wrong: # "tm_mday" - day of the month Months are from 0 (Jan) to 11 (Dec) and days of the week are from 0 (Sun) to 6 (Sat). ... # "tm_wday" - Day of the week It is obvious to anyone that day of the month can be in range from 0 to 30. And "day of the week" description have to be moved to apropriate place from "tm_mday" description. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54166&edit=1

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