php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73787 strftime %k documentation self-contradicts
Submitted: 2016-12-19 13:20 UTC Modified: 2016-12-19 13:57 UTC
From: chris at ocproducts dot com Assigned: cmb (profile)
Status: Closed Package: Date/time related
PHP Version: Irrelevant 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: chris at ocproducts dot com
New email:
PHP Version: OS:

 

 [2016-12-19 13:20 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-19 13:33 UTC] cmb@php.net
-Status: Open +Status: Verified -Type: Bug +Type: Documentation Problem -Package: Documentation problem +Package: Date/time related -Assigned To: +Assigned To: cmb
 [2016-12-19 13:56 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=341417
Log: Fix #73787: strftime %k documentation self-contradicts
 [2016-12-19 13:57 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2016-12-19 13:57 UTC] cmb@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 [2020-02-07 06:06 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=50fe627f4fe4e75b02a2ebbd56fe0caf1959cdc0
Log: Fix #73787: strftime %k documentation self-contradicts
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 14:01:30 2024 UTC