Make DateTime::__construct()'s changelog clearer on the point that exceptions

are thrown if the date format is invalid, rather than the date itself.

Fixes doc bug #64908 (DateTime's constructor accepts time that not exists
because of DST).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330341 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Adam Harvey 2013-05-23 18:38:53 +00:00
parent 1634a88641
commit a7600e75ab

View file

@ -96,8 +96,9 @@
<row>
<entry>5.3.0</entry>
<entry>
If an invalid date is specified, then an exception is now
thrown. Previously an error was emitted.
If <parameter>time</parameter> contains an invalid
<link linkend="datetime.formats">date/time format</link>, then an
exception is now thrown. Previously an error was emitted.
</entry>
</row>
</tbody>