svn: /phpdoc/en/trunk/reference/datetime/datetime/ createfromformat.xml

From: Date: Fri, 15 Jan 2016 18:12:26 +0000
Subject: svn: /phpdoc/en/trunk/reference/datetime/datetime/ createfromformat.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13995@lists.php.net to get a copy of this message
cmb Fri, 15 Jan 2016 18:12:26 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=338509 Log: added missing defaults (by Michael Hoppes) Changed paths: U phpdoc/en/trunk/reference/datetime/datetime/createfromformat.xml Modified: phpdoc/en/trunk/reference/datetime/datetime/createfromformat.xml =================================================================== --- phpdoc/en/trunk/reference/datetime/datetime/createfromformat.xml 2016-01-15 18:11:43 UTC (rev 338508) +++ phpdoc/en/trunk/reference/datetime/datetime/createfromformat.xml 2016-01-15 18:12:26 UTC (rev 338509) @@ -15,14 +15,14 @@ <modifier>public</modifier> <modifier>static</modifier> <type>DateTime</type><methodname>DateTime::createFromFormat</methodname> <methodparam><type>string</type><parameter>format</parameter></methodparam> <methodparam><type>string</type><parameter>time</parameter></methodparam> - <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter></methodparam> + <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter><initializer>date_default_timezone_get()</initializer></methodparam> </methodsynopsis> <para>&style.procedural;</para> <methodsynopsis role="procedural"> <type>DateTime</type><methodname>date_create_from_format</methodname> <methodparam><type>string</type><parameter>format</parameter></methodparam> <methodparam><type>string</type><parameter>time</parameter></methodparam> - <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter></methodparam> + <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter><initializer>date_default_timezone_get()</initializer></methodparam> </methodsynopsis> <para> Returns new DateTime object formatted according to the specified format.

« previous php.doc.cvs (#13995) next »