mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
0d6de56058
commit
3707997cd6
1 changed files with 29 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue