Doc #54166 [NEW]: localtime tm_mday, tm_wday docs
| From: | chuchelo at gmail dot com | Date: | Sat, 05 Mar 2011 06:04:58 +0000 |
| Subject: | Doc #54166 [NEW]: localtime tm_mday, tm_wday docs | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-6054@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:localtime tm_mday, tm_wday docs
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 bug report at http://bugs.php.net/bug.php?id=54166&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54166&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54166&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54166&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=54166&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54166&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=54166&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=54166&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=54166&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=54166&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=54166&r=support
Expected behavior: http://bugs.php.net/fix.php?id=54166&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=54166&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=54166&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=54166&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54166&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=54166&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=54166&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=54166&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=54166&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=54166&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=54166&r=mysqlcfg