summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl.c
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2012-04-06 21:50:08 +0200
committerGustavo André dos Santos Lopes <cataphract@php.net>2012-05-17 17:23:46 +0200
commit9a35d45a5b2226750e198042201e63a37c127f31 (patch)
tree404d3f5597f6edc32e3e6ef2b6c86ace6c068fb5 /ext/intl/php_intl.c
parent51e3e51d3b574519869bf21d0136b25f48ca7a99 (diff)
downloadphp-git-9a35d45a5b2226750e198042201e63a37c127f31.tar.gz
Accept DateTimeZone where time zones are expected.
Also unified timezone handling in IntlCalendar::setTimeZone() to that in the IntlCalendar and IntlGregorianCalendar constructors.
Diffstat (limited to 'ext/intl/php_intl.c')
-rwxr-xr-xext/intl/php_intl.c2
1 files changed, 1 insertions, 1 deletions
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 )