svn: /phpdoc/en/trunk/reference/intl/dateformatter/ format.xml

From: Date: Fri, 18 Mar 2011 15:13:39 +0000
Subject: svn: /phpdoc/en/trunk/reference/intl/dateformatter/ format.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7873@lists.php.net to get a copy of this message
aharvey Fri, 18 Mar 2011 15:13:39 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=309389 Log: Update the IntlDateFormatter::format() documentation to note that DateTime object support was added in 5.3.4. Changed paths: U phpdoc/en/trunk/reference/intl/dateformatter/format.xml Modified: phpdoc/en/trunk/reference/intl/dateformatter/format.xml =================================================================== --- phpdoc/en/trunk/reference/intl/dateformatter/format.xml 2011-03-18 14:56:20 UTC (rev 309388) +++ phpdoc/en/trunk/reference/intl/dateformatter/format.xml 2011-03-18 15:13:39 UTC (rev 309389) @@ -44,8 +44,10 @@ <term><parameter>value</parameter></term> <listitem> <para> - Value to format. Can be <type>integer</type> for an Unix timestamp value (seconds since epoch, UTC) or - <type>array</type> for a <function>localtime</function> array. + Value to format. This may be a <classname>DateTime</classname> object, + an <type>integer</type> representing a Unix timestamp value (seconds + since epoch, UTC) or an <type>array</type> in the format output by + <function>localtime</function>. </para> </listitem> </varlistentry> @@ -61,6 +63,31 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.3.4</entry> + <entry> + Support for providing <classname>DateTime</classname> objects to the + <parameter>value</parameter> parameter was added. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <example>

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