From 9a35d45a5b2226750e198042201e63a37c127f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20Andr=C3=A9=20dos=20Santos=20Lopes?= Date: Fri, 6 Apr 2012 21:50:08 +0200 Subject: Accept DateTimeZone where time zones are expected. Also unified timezone handling in IntlCalendar::setTimeZone() to that in the IntlCalendar and IntlGregorianCalendar constructors. --- ext/intl/php_intl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/intl/php_intl.c') diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c index f160f9dda2..aca3590e01 100755 --- a/ext/intl/php_intl.c +++ b/ext/intl/php_intl.c @@ -516,7 +516,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX( ainfo_cal_set_time_zone, 0, 0, 2 ) ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 ) - ZEND_ARG_OBJ_INFO( 0, timeZone, IntlTimeZone, 1 ) + ZEND_ARG_INFO( 0, timeZone ) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX( ainfo_cal_set, 0, 0, 3 ) -- cgit v1.2.1