nlopess         Fri Jul 29 14:16:30 2005 EDT

  Modified files:              
    /phpdoc/en/reference/datetime       ini.xml 
    /phpdoc/en/reference/datetime/functions     
                                                date-default-timezone-get.xml 
                                                date-default-timezone-set.xml 
  Log:
  update the date_default_*() to reflect last CVS commits
  
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/ini.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/datetime/ini.xml
diff -u phpdoc/en/reference/datetime/ini.xml:1.3 
phpdoc/en/reference/datetime/ini.xml:1.4
--- phpdoc/en/reference/datetime/ini.xml:1.3    Tue Jul 12 08:11:58 2005
+++ phpdoc/en/reference/datetime/ini.xml        Fri Jul 29 14:16:29 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <section id="datetime.configuration">
  &reftitle.runtime;
  &extension.runtime;
@@ -113,7 +113,7 @@
      <para>
       The default timezone used by all date/time functions if the
       <varname>TZ</varname> environment variable isn't set. The precedence
-      order is described in the <function>date_default_timezone_set</function>
+      order is described in the <function>date_default_timezone_get</function>
       page.
      </para>
     </listitem>
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/date-default-timezone-get.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/reference/datetime/functions/date-default-timezone-get.xml
diff -u 
phpdoc/en/reference/datetime/functions/date-default-timezone-get.xml:1.1 
phpdoc/en/reference/datetime/functions/date-default-timezone-get.xml:1.2
--- phpdoc/en/reference/datetime/functions/date-default-timezone-get.xml:1.1    
Tue Jul 12 08:11:58 2005
+++ phpdoc/en/reference/datetime/functions/date-default-timezone-get.xml        
Fri Jul 29 14:16:29 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
 <refentry id="function.date-default-timezone-get">
  <refnamediv>
   <refname>date_default_timezone_get</refname>
@@ -14,16 +14,44 @@
    <void/>
   </methodsynopsis>
   <para>
-   This functions returns the default timezone previously set by
-   <function>date_default_timezone_set</function>.
-  </para>
+   This functions returns the default timezone, using the following "guess"
+   order:
+   <itemizedlist>
+    <listitem>
+     <para>
+      The timezone set using the
+      <function>date_default_timezone_set</function> function (if any)
+     </para>
+    </listitem>
+    <listitem>
+     <para>
+      The <varname>TZ</varname> environment variable (if non empty)
+     </para>
+    </listitem>
+    <listitem>
+     <para>
+      The <link linkend="ini.date.timezone">date.timezone</link> ini option
+      (if set)
+     </para>
+    </listitem>
+    <listitem>
+     <para>
+      "magical" guess (if the operating system supports it)
+     </para>
+    </listitem>
+    <listitem>
+     <para>
+      If none of the above options succeeds, falback to <literal>UTC</literal>
+     </para>
+    </listitem>
+   </itemizedlist>
+  </para>  
  </refsect1>
  
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   Returns a <type>string</type> on success, or &false; if the default
-   timezone wasn't set yet.
+   Returns a <type>string</type>.
   </para>
  </refsect1>
 
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml
diff -u 
phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml:1.1 
phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml:1.2
--- phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml:1.1    
Tue Jul 12 08:11:58 2005
+++ phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml        
Fri Jul 29 14:16:29 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
 <refentry id="function.date-default-timezone-set">
  <refnamediv>
   <refname>date_default_timezone_set</refname>
@@ -17,37 +17,6 @@
    <function>date_default_timezone_set</function> sets the default timezone
    used by all date/time functions.
   </para>
-  <para>
-   The order that PHP tries to find the default timezone is the following:
-   <itemizedlist>
-    <listitem>
-     <para>
-      The timezone set using this function (if any)
-     </para>
-    </listitem>
-    <listitem>
-     <para>
-      The <varname>TZ</varname> environment variable (if set)
-     </para>
-    </listitem>
-    <listitem>
-     <para>
-      The <link linkend="ini.date.timezone">date.timezone</link> ini option
-      (if set)
-     </para>
-    </listitem>
-    <listitem>
-     <para>
-      "magical" guess (if the operating system supports it)
-     </para>
-    </listitem>
-    <listitem>
-     <para>
-      If none of the above options succeeds, falback to <literal>UTC</literal>
-     </para>
-    </listitem>
-   </itemizedlist>
-  </para>
   <note>
    <para>
     Since PHP 5.1.0 (when the date/time functions were rewritten), every call

Reply via email to