svn: /phpdoc/en/trunk/reference/datetime/functions/ date.xml
| From: | Peter Cowburn | Date: | Tue, 17 May 2011 22:35:34 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/datetime/functions/ date.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8137@lists.php.net to get a copy of this message | ||
salathe Tue, 17 May 2011 22:35:34 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=311165
Log:
initializer for timestamp in date() (doc #54783)
Bug: http://bugs.php.net/54783 (Open) Missing default value
for $timestamp in date()
Changed paths:
U phpdoc/en/trunk/reference/datetime/functions/date.xml
Modified: phpdoc/en/trunk/reference/datetime/functions/date.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/functions/date.xml 2011-05-17 22:24:44 UTC (rev 311164)
+++ phpdoc/en/trunk/reference/datetime/functions/date.xml 2011-05-17 22:35:34 UTC (rev 311165)
@@ -11,7 +11,7 @@
<methodsynopsis>
<type>string</type><methodname>date</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>timestamp</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam>
</methodsynopsis>
<para>
Returns a string formatted according to the given format string using the