[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/datetime/datetime/_construct.xml?=
From: Adam_Harvey <aharvey () php ! net>
Date: 2013-05-23 18:38:53
Message-ID: svn-aharvey-1369334333-330341-798008158 () svn ! php ! net
[Download RAW message or body]
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>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic