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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at nodashi dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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 Nov 28 09:01:28 2024 UTC