derick          Tue Jan 31 21:10:31 2006 UTC

  Modified files:              
    /phpdoc/en/reference/datetime       constants.xml 
    /phpdoc/en/reference/datetime/functions     date.xml 
  Log:
  - Document new P modifier and small version fixes (Patch by Hannes Magnusson).
  
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/datetime/constants.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/datetime/constants.xml
diff -u phpdoc/en/reference/datetime/constants.xml:1.5 
phpdoc/en/reference/datetime/constants.xml:1.6
--- phpdoc/en/reference/datetime/constants.xml:1.5      Tue Nov 29 09:25:11 2005
+++ phpdoc/en/reference/datetime/constants.xml  Tue Jan 31 21:10:31 2006
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <section id="datetime.constants">
  &reftitle.constants;
  <para>
@@ -15,7 +15,7 @@
    </term>
    <listitem>
     <simpara>
-     Atom (example: 2005-08-15T15:52:01+0000)
+     Atom (example: 2005-08-15T15:52:01+00:00)
     </simpara>
    </listitem>
   </varlistentry>
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/datetime/functions/date.xml?r1=1.27&r2=1.28&diff_format=u
Index: phpdoc/en/reference/datetime/functions/date.xml
diff -u phpdoc/en/reference/datetime/functions/date.xml:1.27 
phpdoc/en/reference/datetime/functions/date.xml:1.28
--- phpdoc/en/reference/datetime/functions/date.xml:1.27        Tue Nov 29 
09:25:12 2005
+++ phpdoc/en/reference/datetime/functions/date.xml     Tue Jan 31 21:10:31 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.27 $ -->
+<!-- $Revision: 1.28 $ -->
 <!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 -->
 <refentry id="function.date">
  <refnamediv>
@@ -21,7 +21,7 @@
   </para>
   <tip>
    <para>
-    Since PHP 5.1.0 there are a couple of useful <link
+    Since PHP 5.1.1 there are a couple of useful <link
     linkend="datetime.constants">constants</link> of standard date/time
     formats that can be used to specify the <parameter>format</parameter>
     parameter.
@@ -252,6 +252,11 @@
        <entry>Example: <literal>+0200</literal></entry>
       </row>
       <row>
+       <entry><literal>P</literal></entry>
+       <entry>Difference to Greenwich time (GMT) with colon between hours and 
minutes (added in PHP 5.1.3)</entry>
+       <entry>Example: <literal>+02:00</literal></entry>
+      </row>
+      <row>
        <entry><literal>T</literal></entry>
        <entry>Timezone setting of this machine</entry>
        <entry>Examples: <literal>EST</literal>, <literal>MDT</literal> 
...</entry>
@@ -314,7 +319,7 @@
 // prints something like: Mon, 15 Aug 2005 15:12:46 UTC
 echo date(DATE_RFC822);
 
-// prints something like: 2000-07-01T00:00:00+0000
+// prints something like: 2000-07-01T00:00:00+00:00
 echo date(DATE_ATOM, mktime(0, 0, 0, 7, 1, 2000));
 ?>
 ]]>

Reply via email to