Bug->Doc #73787 [Opn->Ver]: strftime %k documentation self-contradicts
| From: | cmb@php.net | Date: | Mon, 19 Dec 2016 13:33:40 +0000 |
| Subject: | Bug->Doc #73787 [Opn->Ver]: strftime %k documentation self-contradicts | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14273@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73787&edit=1
ID: 73787
Updated by: cmb@php.net
Reported by: chris at ocproducts dot com
Summary: strftime %k documentation self-contradicts
-Status: Open
+Status: Verified
-Type: Bug
+Type: Documentation Problem
-Package: Documentation problem
+Package: Date/time related
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2016-12-19 13:20:17] chris at ocproducts dot com
Description:
------------
%k is defined as: "Two digit representation of the hour in 24-hour format, with a space
preceding single digits"
A two digit representation cannot have single digits.
I see what it's trying to say, but it's at best very confusing when reading through.
I think it should say: "Hour in 24-hour format, with a space preceding single digits"
This wording is consistent with "%e" which is for the month numbers expressed in the same
form.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73787&edit=1