mazzanet Fri Feb 24 10:30:43 2006 UTC
Modified files:
/phpdoc/en/reference/datetime/functions strtotime.xml
/phpdoc/entities global.ent
Log:
Document the fact that <4.4 'next' is +2. Update Date Input Formats URL
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/datetime/functions/strtotime.xml?r1=1.17&r2=1.18&diff_format=u
Index: phpdoc/en/reference/datetime/functions/strtotime.xml
diff -u phpdoc/en/reference/datetime/functions/strtotime.xml:1.17
phpdoc/en/reference/datetime/functions/strtotime.xml:1.18
--- phpdoc/en/reference/datetime/functions/strtotime.xml:1.17 Thu Oct 13
11:57:02 2005
+++ phpdoc/en/reference/datetime/functions/strtotime.xml Fri Feb 24
10:30:42 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.17 $ -->
+<!-- $Revision: 1.18 $ -->
<!-- splitted from ./en/functions/datetime.xml, last change in rev 1.8 -->
<refentry id="function.strtotime">
<refnamediv>
@@ -144,6 +144,13 @@
versions where it is correctly computed from current time.
</para>
</warning>
+ <warning>
+ <para>
+ In PHP versions prior to 4.4, <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
http://cvs.php.net/viewcvs.cgi/phpdoc/entities/global.ent?r1=1.259&r2=1.260&diff_format=u
Index: phpdoc/entities/global.ent
diff -u phpdoc/entities/global.ent:1.259 phpdoc/entities/global.ent:1.260
--- phpdoc/entities/global.ent:1.259 Sat Feb 11 20:38:12 2006
+++ phpdoc/entities/global.ent Fri Feb 24 10:30:43 2006
@@ -1,6 +1,6 @@
<!-- -*- SGML -*-
- $Id: global.ent,v 1.259 2006/02/11 20:38:12 nlopess Exp $
+ $Id: global.ent,v 1.260 2006/02/24 10:30:43 mazzanet Exp $
Contains global "macros" for all the XML documents.
@@ -110,7 +110,7 @@
<!ENTITY url.gmp "http://www.swox.com/gmp/">
<!ENTITY url.gnochm "http://gnochm.sourceforge.net/">
<!ENTITY url.gnu.configure "http://www.airs.com/ian/configure/">
-<!ENTITY url.gnu.man.date-input
"http://www.gnu.org/software/tar/manual/html_chapter/tar_7.html">
+<!ENTITY url.gnu.man.date-input
"http://www.gnu.org/software/tar/manual/html_node/tar_109.html">
<!ENTITY url.halcyon "http://www.halcyonsoft.com/">
<!ENTITY spec.http1.1 'http://www.w3.org/Protocols/rfc2616/rfc2616'>
<!ENTITY spec.soap1.1 'http://www.w3.org/TR/soap11/'>