Doc #55589 [NEW]: Incorrect Period Designator for minute
| From: | php at nodashi dot com | Date: | Mon, 05 Sep 2011 14:48:30 +0000 |
| Subject: | Doc #55589 [NEW]: Incorrect Period Designator for minute | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-7127@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: 5.3.8
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Incorrect Period Designator for minute
Description:
------------
Incorrect Period Designator for minute => M
Should be => I
---
From manual page: http://www.php.net/dateinterval.construct%23Parameters
---
Expected result:
----------------
Period Designator Description
Y years
M months
D days
W weeks. These get converted into days, so can not be combined with D.
H hours
I minutes
S seconds
Actual result:
--------------
Period Designator Description
Y years
M months
D days
W weeks. These get converted into days, so can not be combined with D.
H hours
M minutes
S seconds
--
Edit bug report at https://bugs.php.net/bug.php?id=55589&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55589&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55589&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55589&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55589&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55589&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55589&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55589&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55589&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55589&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55589&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55589&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55589&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55589&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55589&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55589&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55589&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55589&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55589&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55589&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55589&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55589&r=mysqlcfg