Doc #72259 [Fbk->NoF]: DateInterval->Format page documentation incorrect
| From: | php-bugs at lists dot php dot net | Date: | Sun, 26 Jun 2016 04:22:26 +0000 |
| Subject: | Doc #72259 [Fbk->NoF]: DateInterval->Format page documentation incorrect | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13623@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72259&edit=1
ID: 72259
Updated by: php-bugs@lists.php.net
Reported by: mimiller at ncsa dot illinois dot edu
Summary: DateInterval->Format page documentation incorrect
-Status: Feedback
+Status: No Feedback
Type: Documentation Problem
Package: Documentation problem
Operating System: MacOSX
PHP Version: 5.6.21
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2016-06-14 11:24:54] cmb@php.net
I can't verify the described behavior, see
<https://3v4l.org/meQFK#v550>. Do you get another
result?
------------------------------------------------------------------------
[2016-05-24 21:55:52] mimiller at ncsa dot illinois dot edu
Description:
------------
http://php.net/manual/en/dateinterval.format.php
indicates:
H Hours, numeric, at least 2 digits with leading 0 01, 03, 23
h Hours, numeric 1, 3, 23
should read:
H Hours, numeric 0 - 23, at least 2 digits with leading 0 01, 03, 23
h Hours, numeric 1 - 12, at least 2 digits with leading 0 1, 3, 12
Test script:
---------------
$this->format('H'); #returns 00 - 23
$this->format('h'); #returns 01 - 12
Expected result:
----------------
web page will document the format function properly.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72259&edit=1