Add documentation for the %k strftime() modifier, and fix a couple of spelling

errors at the same time.

Fixes doc bug #63390 (Doc incomplete for strftime).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328193 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Adam Harvey 2012-10-30 06:17:20 +00:00
parent 919cdfc8de
commit 44a4313949

View file

@ -185,6 +185,12 @@
<entry>Two digit representation of the hour in 24-hour format</entry>
<entry><literal>00</literal> through <literal>23</literal></entry>
</row>
<row>
<entry><literal>%k</literal></entry>
<entry>Two digit representation of the hour in 24-hour format, with
a space preceding single digits</entry>
<entry><literal> 0</literal> through <literal>23</literal></entry>
</row>
<row>
<entry><literal>%I</literal></entry>
<entry>Two digit representation of the hour in 12-hour format</entry>
@ -192,7 +198,7 @@
</row>
<row>
<entry><literal>%l (lower-case 'L')</literal></entry>
<entry>Hour in 12-hour format, with a space preceeding single digits</entry>
<entry>Hour in 12-hour format, with a space preceding single digits</entry>
<entry><literal> 1</literal> through <literal>12</literal></entry>
</row>
<row>
@ -524,8 +530,8 @@ $strftimeFormats = array(
'h' => 'Abbreviated month name, based on the locale (an alias of %b)',
'i' => '',
'j' => 'Day of the year, 3 digits with leading zeros',
'k' => '',
'l' => 'Hour in 12-hour format, with a space preceeding single digits',
'k' => 'Hour in 24-hour format, with a space preceding single digits',
'l' => 'Hour in 12-hour format, with a space preceding single digits',
'm' => 'Two digit representation of the month',
'n' => 'A newline character ("\n")',
'o' => '',
@ -615,7 +621,7 @@ Unknown format : 'g' ( Two digit representation of the yea
Unknown format : 'h' ( Abbreviated month name, based on the locale (an alias of %b) )
Unknown format : 'i'
Unknown format : 'k'
Unknown format : 'l' ( Hour in 12-hour format, with a space preceeding single digits )
Unknown format : 'l' ( Hour in 12-hour format, with a space preceding single digits )
Unknown format : 'n' ( A newline character ("\n") )
Unknown format : 'o'
Unknown format : 'q'