svn: /phpdoc/en/trunk/reference/datetime/datetime/ construct.xml

From: Date: Thu, 23 May 2013 18:38:53 +0000
Subject: svn: /phpdoc/en/trunk/reference/datetime/datetime/ construct.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-11349@lists.php.net to get a copy of this message
aharvey Thu, 23 May 2013 18:38:53 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=330341 Log: 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). Bug: https://bugs.php.net/64908 (Assigned) DateTime's constructor accepts time that not exists because of DST Changed paths: U phpdoc/en/trunk/reference/datetime/datetime/construct.xml Modified: phpdoc/en/trunk/reference/datetime/datetime/construct.xml =================================================================== --- phpdoc/en/trunk/reference/datetime/datetime/construct.xml 2013-05-23 17:38:21 UTC (rev 330340) +++ phpdoc/en/trunk/reference/datetime/datetime/construct.xml 2013-05-23 18:38:53 UTC (rev 330341) @@ -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>

« previous php.doc.cvs (#11349) next »