From 3707997cd6a2bb074330fdb640cce79f2b68f5ef Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Fri, 18 Mar 2011 15:13:39 +0000 Subject: [PATCH] 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 --- reference/intl/dateformatter/format.xml | 31 +++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/reference/intl/dateformatter/format.xml b/reference/intl/dateformatter/format.xml index 051b798e85..487ae627c6 100644 --- a/reference/intl/dateformatter/format.xml +++ b/reference/intl/dateformatter/format.xml @@ -44,8 +44,10 @@ value - Value to format. Can be integer for an Unix timestamp value (seconds since epoch, UTC) or - array for a localtime array. + Value to format. This may be a DateTime object, + an integer representing a Unix timestamp value (seconds + since epoch, UTC) or an array in the format output by + localtime. @@ -61,6 +63,31 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.3.4 + + Support for providing DateTime objects to the + value parameter was added. + + + + + + + + &reftitle.examples;