Req #77393 [Com]: Seconds without leading zero
Edit report at https://bugs.php.net/bug.php?id=77393&edit=1
ID: 77393
Comment by: lagodichyuriy at gmail dot com
Reported by: jed_keenan at hotmail dot com
Summary: Seconds without leading zero
Status: Open
Type: Feature/Change Request
Package: Date/time related
Operating System: W10
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
I've just attached sample patch. I'm not very smart in C and don't really believe
that this feature will be confirmed, but it looks quite simple to "fix".
Previous Comments:
------------------------------------------------------------------------
[2019-01-01 19:19:55] spam2 at rhsoft dot net
how is that releated to http://php.net/manual/en/book.outcontrol.php
when the linked documentation points to https://secure.php.net/manual/en/ref.datetime.php
anyways, that stuff isn#t invited by PHP but dervied from http://man7.org/linux/man-pages/man1/date.1.html
------------------------------------------------------------------------
[2019-01-01 19:04:27] jed_keenan at hotmail dot com
Description:
------------
---
From manual page: https://php.net/function.date
---
Any chance of having Seconds without leading zero to go with Hours [%k] and Minutes [%l]? Maybe %q?
Expected result:
----------------
%q = Seconds without leading 0 :)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77393&edit=1
Thread (4 messages)