cvs: phpdoc /en/reference/datetime/datetime construct.xml /en/reference/datetime/functions date-create.xml
| From: | Jakub Vrana | Date: | Mon, 12 Jan 2009 10:48:43 +0000 |
| Subject: | cvs: phpdoc /en/reference/datetime/datetime construct.xml /en/reference/datetime/functions date-create.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3015@lists.php.net to get a copy of this message | ||
vrana Mon Jan 12 10:48:43 2009 UTC
Modified files:
/phpdoc/en/reference/datetime/datetime construct.xml
/phpdoc/en/reference/datetime/functions date-create.xml
Log:
1st parameter defaults to now
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/datetime/construct.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/datetime/datetime/construct.xml
diff -u phpdoc/en/reference/datetime/datetime/construct.xml:1.2
phpdoc/en/reference/datetime/datetime/construct.xml:1.3
--- phpdoc/en/reference/datetime/datetime/construct.xml:1.2 Fri Jan 9 17:08:51 2009
+++ phpdoc/en/reference/datetime/datetime/construct.xml Mon Jan 12 10:48:43 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry xml:id="datetime.construct" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<methodname>DateTime::__construct</methodname>
- <methodparam
choice="opt"><type>string</type><parameter>time</parameter><initializer>NULL</initializer></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>time</parameter><initializer>"now"</initializer></methodparam>
<methodparam
choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter><initializer>NULL</initializer></methodparam>
</methodsynopsis>
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/date-create.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/datetime/functions/date-create.xml
diff -u phpdoc/en/reference/datetime/functions/date-create.xml:1.5
phpdoc/en/reference/datetime/functions/date-create.xml:1.6
--- phpdoc/en/reference/datetime/functions/date-create.xml:1.5 Fri Jan 9 17:08:51 2009
+++ phpdoc/en/reference/datetime/functions/date-create.xml Mon Jan 12 10:48:43 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry xml:id="function.date-create" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>date_create</refname>
@@ -10,7 +10,7 @@
&reftitle.description;
<methodsynopsis>
<type>DateTime</type><methodname>date_create</methodname>
- <methodparam
choice="opt"><type>string</type><parameter>time</parameter><initializer>NULL</initializer></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>time</parameter><initializer>"now"</initializer></methodparam>
<methodparam
choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter><initializer>NULL</initializer></methodparam>
</methodsynopsis>
</refsect1>