svn: /phpdoc/en/trunk/reference/datetime/functions/ strftime.xml
| From: | Adam Harvey | Date: | Tue, 30 Oct 2012 06:17:20 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/datetime/functions/ strftime.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-10636@lists.php.net to get a copy of this message | ||
aharvey Tue, 30 Oct 2012 06:17:20 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=328193
Log:
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).
Bug: https://bugs.php.net/63390 (Open) Doc incomplete for
strftime
Changed paths:
U phpdoc/en/trunk/reference/datetime/functions/strftime.xml
Modified: phpdoc/en/trunk/reference/datetime/functions/strftime.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/functions/strftime.xml 2012-10-30 06:08:52 UTC (rev 328192)
+++ phpdoc/en/trunk/reference/datetime/functions/strftime.xml 2012-10-30 06:17:20 UTC (rev 328193)
@@ -186,13 +186,19 @@
<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>
<entry><literal>01</literal> through
<literal>12</literal></entry>
</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 @@
'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 : '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'