diff options
Diffstat (limited to 'ext/intl/tests/dateformat_get_set_pattern.phpt')
-rwxr-xr-x | ext/intl/tests/dateformat_get_set_pattern.phpt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/intl/tests/dateformat_get_set_pattern.phpt b/ext/intl/tests/dateformat_get_set_pattern.phpt index 6489232509..bd541c1c93 100755 --- a/ext/intl/tests/dateformat_get_set_pattern.phpt +++ b/ext/intl/tests/dateformat_get_set_pattern.phpt @@ -1,7 +1,8 @@ --TEST-- -datefmt_get_pattern_code and datefmt_set_pattern_code() +datefmt_get_pattern_code and datefmt_set_pattern_code() icu <= 4.2 --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php if(version_compare(INTL_ICU_VERSION, '4.3', '<') != 1) print 'skip'; ?> --FILE-- <?php @@ -81,4 +82,4 @@ Result of formatting timestamp=0 with the new pattern is : Setting IntlDateFormatter with pattern = yyyyMMdd After call to get_pattern : pattern= yyyyMMdd Result of formatting timestamp=0 with the new pattern is : -19691231
\ No newline at end of file +19691231 |