php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #55589 Incorrect Period Designator for minute
Submitted: 2011-09-05 14:48 UTC Modified: 2011-09-05 14:50 UTC
From: php at nodashi dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 5.3.8 OS:
Private report: No CVE-ID: None
 [2011-09-05 14:48 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-05 14:50 UTC] php at nodashi dot com
-Status: Open +Status: Closed
 [2011-09-05 14:50 UTC] php at nodashi dot com
bad understanding
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 11:01:30 2024 UTC