[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: Re: [DOC-CVS] svn: /phpdoc/en/trunk/reference/datetime/datetime/ createfromformat.xml
From: Derick Rethans <derick () php ! net>
Date: 2016-08-23 13:07:31
Message-ID: alpine.DEB.2.20.1608231406210.3632 () whisky ! home ! derickrethans ! nl
[Download RAW message or body]
On Tue, 23 Aug 2016, Christoph Michael Becker wrote:
> cmb Tue, 23 Aug 2016 11:29:02 +0000
>
> Revision: http://svn.php.net/viewvc?view=revision&revision=339929
>
> Log:
> Improve format docs (provided by anon user)
This is incorrect. There is no difference in createFromFormat whether
you use a 'd' or a 'j' for example. Both of them allow leading zeroes,
or not.
This should be reverted.
cheers,
Derick
>
> Changed paths:
> U phpdoc/en/trunk/reference/datetime/datetime/createfromformat.xml
>
> Modified: phpdoc/en/trunk/reference/datetime/datetime/createfromformat.xml
> ===================================================================
> --- phpdoc/en/trunk/reference/datetime/datetime/createfromformat.xml 2016-08-23 \
> 11:26:51 UTC (rev 339928)
> +++ phpdoc/en/trunk/reference/datetime/datetime/createfromformat.xml 2016-08-23 \
> 11:29:02 UTC (rev 339929) @@ -60,7 +60,7 @@
> </row>
> <row>
> <entry><literal>d</literal> and <literal>j</literal></entry>
> - <entry>Day of the month, 2 digits with or without leading zeros</entry>
> + <entry>Day of the month, 2 digits with (d) or without (j) leading \
> zeros</entry> <entry>
> <literal>01</literal> to <literal>31</literal> or
> <literal>1</literal> to <literal>31</literal>
> @@ -103,7 +103,7 @@
> </row>
> <row>
> <entry><literal>m</literal> and <literal>n</literal></entry>
> - <entry>Numeric representation of a month, with or without leading \
> zeros</entry> + <entry>Numeric representation of a month, with (m) or \
> without (n) leading zeros</entry> <entry>
> <literal>01</literal> through <literal>12</literal> or
> <literal>1</literal> through <literal>12</literal>
> @@ -144,7 +144,7 @@
> </row>
> <row>
> <entry><literal>g</literal> and <literal>h</literal></entry>
> - <entry>12-hour format of an hour with or without leading zero</entry>
> + <entry>12-hour format of an hour without (g) or with (h) leading \
> zeros</entry> <entry>
> <literal>1</literal> through <literal>12</literal> or
> <literal>01</literal> through <literal>12</literal>
> @@ -152,7 +152,7 @@
> </row>
> <row>
> <entry><literal>G</literal> and <literal>H</literal></entry>
> - <entry>24-hour format of an hour with or without leading zeros</entry>
> + <entry>24-hour format of an hour without (G) or with (H) leading \
> zeros</entry> <entry>
> <literal>0</literal> through <literal>23</literal> or
> <literal>00</literal> through <literal>23</literal>
>
>
--
https://derickrethans.nl | https://xdebug.org | https://dram.io
Like Xdebug? Consider a donation: https://xdebug.org/donate.php
twitter: @derickr and @xdebug
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic