php-documentation-list | 2003031

[PHP-DOC] cvs: phpdoc /en/reference/datetime/functions gmdate.xml From: Jesus M. Castagnetto (jmcastagnetto <email protected>)
Date: 03/11/03

jmcastagnetto Tue Mar 11 17:38:16 2003 EDT

  Modified files:
    /phpdoc/en/reference/datetime/functions gmdate.xml
  Log:
  Adding note with reference to bug #22620 (and the related #22457 and #14931)
  
  
Index: phpdoc/en/reference/datetime/functions/gmdate.xml
diff -u phpdoc/en/reference/datetime/functions/gmdate.xml:1.3 phpdoc/en/reference/datetime/functions/gmdate.xml:1.4
--- phpdoc/en/reference/datetime/functions/gmdate.xml:1.3 Fri Jan 31 12:41:25 2003
+++ phpdoc/en/reference/datetime/functions/gmdate.xml Tue Mar 11 17:38:16 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 -->
   <refentry id="function.gmdate">
    <refnamediv>
@@ -28,6 +28,26 @@
       </programlisting>
      </example>
     </para>
+ <note>
+ <para>
+ In the Microsoft Windows series of Operating Systems the system
+ libraries implementing this function are broken, so
+ <function>gmdate</function> does not support negative values
+ for the <parameter>timestamp</parameter>.
+ For details see bug reports:
+ <ulink url="http://bugs.php.net/bug.php?id=22620">#22620</ulink>,
+ <ulink url="http://bugs.php.net/bug.php?id=22620">#22457</ulink>,
+ and <ulink url="http://bugs.php.net/bug.php?id=22620">#14391</ulink>.
+ </para>
+ <para>
+ This problem does not occur in Unix/Linux Operating Systems, were the system
+ libraries behave as expected.
+ </para>
+ <para>
+ PHP cannot fix broken system libraries. Contact
+ your OS vendor for a fix to this a similar problems.
+ </para>
+ </note>
     <para>
      See also <function>date</function>, <function>mktime</function>,
      <function>gmmktime</function> and <function>strftime</function>.

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php