mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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:
parent
1634a88641
commit
a7600e75ab
1 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue