Update the IntlDateFormatter::format() documentation to note that DateTime

object support was added in 5.3.4.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309389 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Adam Harvey 2011-03-18 15:13:39 +00:00
parent 0d6de56058
commit 3707997cd6

View file

@ -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>