#50062 [WFx]: strftime %e example

From: Date: Tue, 03 Nov 2009 16:50:45 +0000
Subject: #50062 [WFx]: strftime %e example
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3039@lists.php.net to get a copy of this message
ID: 50062 User updated by: mvds dot 00 at gmail dot com Reported By: mvds dot 00 at gmail dot com Status: Wont fix Bug Type: Documentation problem Operating System: n/a PHP Version: Irrelevant New Comment: That's all true, I'm just pointing out that the example doesn't come out as intended, since whitespace in html doesn't always lead to whitespace displayed. I referred to the html source to point out that an attempt to include the space was made already. Of course the description is OK. However, for quick reference I think most people scan through the example column instead of the descriptions. Previous Comments: ------------------------------------------------------------------------ [2009-11-03 16:09:54] danbrown@php.net The textual description on that very line describes the expected output in plain English: "Day of the month, with a space preceding single digits" That is far more likely to be read than the HTML source of the page as you showed, and an underline character would likely be confusing. ------------------------------------------------------------------------ [2009-11-03 16:09:32] rquadling@php.net I have to say that this is a bit bogus. The description (the bit between the %e and 1 to 31) does say "with a space preceding single digits". ------------------------------------------------------------------------ [2009-11-03 16:06:20] mvds dot 00 at gmail dot com Description: ------------ A very minor issue: The example for the %e format character shows in html as: <td align="left"><i> 1</i> to <i>31</i></td> I suggest " 1" is replaced by "&nbsp;1" so that in every browser the space will actually show up. As a further suggestion, some hint to highlight the space character would have saved me a few moments. Maybe underline? "<u>&nbsp;</u>1" Reproduce code: --------------- --- From manual page: function.strftime#Parameters --- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50062&edit=1

« previous php.doc.bugs (#3039) next »