diff options
author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-04-06 21:50:08 +0200 |
---|---|---|
committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-05-17 17:23:46 +0200 |
commit | 9a35d45a5b2226750e198042201e63a37c127f31 (patch) | |
tree | 404d3f5597f6edc32e3e6ef2b6c86ace6c068fb5 /ext/intl/php_intl.c | |
parent | 51e3e51d3b574519869bf21d0136b25f48ca7a99 (diff) | |
download | php-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-x | ext/intl/php_intl.c | 2 |
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 ) |