svn: /phpdoc/en/trunk/reference/datetime/datetime/ createfromformat.xml
| From: | Adam Harvey | Date: | Mon, 09 Jun 2014 17:29:49 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/datetime/datetime/ createfromformat.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12521@lists.php.net to get a copy of this message | ||
aharvey Mon, 09 Jun 2014 17:29:49 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=333741
Log:
Include the range for two digit years in DateTime::createFromFormat().
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 2014-06-09 12:23:52 UTC (rev
333740)
+++ phpdoc/en/trunk/reference/datetime/datetime/createfromformat.xml 2014-06-09 17:29:49 UTC (rev
333741)
@@ -121,8 +121,16 @@
</row>
<row>
<entry><literal>y</literal></entry>
- <entry>A two digit representation of a year</entry>
- <entry>Examples: <literal>99</literal> or
<literal>03</literal></entry>
+ <entry>
+ A two digit representation of a year (which is assumed to be in the
+ range 1970-2069, inclusive)
+ </entry>
+ <entry>
+ Examples:
+ <literal>99</literal> or <literal>03</literal>
+ (which will be interpreted as <literal>1999</literal> and
+ <literal>2003</literal>, respectively)
+ </entry>
</row>
<row>
<entry align="center"><emphasis>Time</emphasis></entry>