svn: /phpdoc/en/trunk/reference/datetime/functions/ strtotime.xml
| From: | Torben Wilson | Date: | Tue, 15 Sep 2009 06:52:03 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/datetime/functions/ strtotime.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4926@lists.php.net to get a copy of this message | ||
torben Tue, 15 Sep 2009 06:52:03 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=288347
Log:
Moved the version-specific change notes into the changelog section.
Changed paths:
U phpdoc/en/trunk/reference/datetime/functions/strtotime.xml
Modified: phpdoc/en/trunk/reference/datetime/functions/strtotime.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/functions/strtotime.xml 2009-09-15 06:28:00 UTC (rev 288346)
+++ phpdoc/en/trunk/reference/datetime/functions/strtotime.xml 2009-09-15 06:52:03 UTC (rev 288347)
@@ -91,14 +91,42 @@
</thead>
<tbody>
<row>
+ <entry>5.2.7</entry>
+ <entry>
+ In PHP 5 prior to 5.2.7, requesting a given occurrence of a
+ given weekday in a month where that weekday was the first day
+ of the month would incorrectly add one week to the returned
+ timestamp. This has been corrected in 5.2.7 and later
+ versions.
+ </entry>
+ </row>
+ <row>
<entry>5.1.0</entry>
<entry>
- It now returns &false; on failure, instead of <literal>-1</literal>.
+ Now returns &false; on failure, instead
+ of <literal>-1</literal>.
</entry>
</row>
&date.timezone.errors.changelog;
+ <row>
+ <entry>5.0.2</entry>
+ <entry>
+ In PHP 5 up to 5.0.2, <literal>"now"</literal> and other
+ relative times are wrongly computed from today's
+ midnight. This differs from other versions where it is
+ correctly computed from current time.
+ </entry>
+ </row>
+ <row>
+ <entry>4.4.0</entry>
+ <entry>
+ In PHP versions prior to 4.4.0, <literal>"next"</literal> is
incorrectly
+ computed as +2. A typical solution to this is to use
+ <literal>"+1"</literal>.
+ </entry>
+ </row>
</tbody>
</tgroup>
</informaltable>
@@ -148,27 +176,6 @@
<refsect1 role="notes">
&reftitle.notes;
- <warning>
- <para>
- In PHP 5 prior to 5.2.7, requesting a given occurrence of a given
- weekday in a month where that weekday was the first day of the
- month would incorrectly add one week to the returned timestamp.
- </para>
- </warning>
- <warning>
- <para>
- In PHP 5 up to 5.0.2, <literal>"now"</literal> and other relative times
- are wrongly computed from today's midnight. This differs from other
- versions where it is correctly computed from current time.
- </para>
- </warning>
- <warning>
- <para>
- In PHP versions prior to 4.4.0, <literal>"next"</literal> is incorrectly
- computed as +2. A typical solution to this is to use
- <literal>"+1"</literal>.
- </para>
- </warning>
<note>
<para>
The valid range of a timestamp is typically from Fri, 13 Dec