Doc #55589 [Opn->Csd]: Incorrect Period Designator for minute
| From: | php at nodashi dot com | Date: | Mon, 05 Sep 2011 14:50:38 +0000 |
| Subject: | Doc #55589 [Opn->Csd]: Incorrect Period Designator for minute | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7128@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55589&edit=1
ID: 55589
User updated by: php at nodashi dot com
Reported by: php at nodashi dot com
Summary: Incorrect Period Designator for minute
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: 5.3.8
Block user comment: N
Private report: N
New Comment:
bad understanding
Previous Comments:
------------------------------------------------------------------------
[2011-09-05 14:48:30] php at nodashi dot com
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 this bug report at https://bugs.php.net/bug.php?id=55589&edit=1