Include the range for two digit years in DateTime::createFromFormat().

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333741 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Adam Harvey 2014-06-09 17:29:49 +00:00
parent 94d82f4272
commit b5a9655597

View file

@ -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>