cvs: phpdoc /en/reference/datetime/functions date.xml
| From: | Hannes Magnusson | Date: | Sat, 13 Oct 2007 13:06:37 +0000 |
| Subject: | cvs: phpdoc /en/reference/datetime/functions date.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-192@lists.php.net to get a copy of this message | ||
bjori Sat Oct 13 13:06:37 2007 UTC
Modified files:
/phpdoc/en/reference/datetime/functions date.xml
Log:
Fixed bug#42921 (date('u') doesn't work)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/date.xml?r1=1.40&r2=1.41&diff_format=u
Index: phpdoc/en/reference/datetime/functions/date.xml
diff -u phpdoc/en/reference/datetime/functions/date.xml:1.40
phpdoc/en/reference/datetime/functions/date.xml:1.41
--- phpdoc/en/reference/datetime/functions/date.xml:1.40 Wed Jun 20 22:24:18 2007
+++ phpdoc/en/reference/datetime/functions/date.xml Sat Oct 13 13:06:37 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.40 $ -->
+<!-- $Revision: 1.41 $ -->
<refentry xml:id="function.date" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>date</refname>
@@ -282,6 +282,14 @@
as-is. The <literal>Z</literal> format will always return
<literal>0</literal> when using <function>gmdate</function>.
</para>
+ <note>
+ <para>
+ Since this function only accepts <type>integer</type> timestamps the
+ <literal>u</literal> format character is only useful when using the
+ <function>date_format</function> function with user based timestamps
+ created with <function>date_create</function>.
+ </para>
+ </note>
</listitem>
</varlistentry>