summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2012-02-05 10:29:34 +0000
committerRasmus Lerdorf <rasmus@php.net>2012-02-05 10:29:34 +0000
commitfe777cd4dbc20f3adeafb7e4d574abd9fc9c2112 (patch)
tree4b043ab4590a05ee3901149096005f564f67fcc4
parent8d5f83dde5f9231d10e0ee8bb38d91171558ccc2 (diff)
downloadphp-git-fe777cd4dbc20f3adeafb7e4d574abd9fc9c2112.tar.gz
Without a timezone you can't know whether it is dst or not in this one
-rwxr-xr-xext/intl/tests/dateformat_parse_localtime_parsepos.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt b/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt
index b19ab7776f..2256c9b364 100755
--- a/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt
+++ b/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt
@@ -78,7 +78,7 @@ include_once( 'ut_common.inc' );
// Run the test
ut_run();
?>
---EXPECT--
+--EXPECTF--
-------------------------------
Input text is : Thursday, December 18, 1969 8:49:59 AM PST
@@ -96,7 +96,7 @@ Input text is : June 18, 1969 8:49:59 AM
IntlDateFormatter : DateType::LONG, TimeType::LONG Error : 'Date parsing failed: U_PARSE_ERROR'
------------
IntlDateFormatter : DateType::MEDIUM, TimeType::MEDIUM
-tm_sec : '59' , tm_min : '49' , tm_hour : '8' , tm_year : '69' , tm_mday : '18' , tm_wday : '3' , tm_yday : '169' , tm_mon : '5' , tm_isdst : '1' ,
+tm_sec : '59' , tm_min : '49' , tm_hour : '8' , tm_year : '69' , tm_mday : '18' , tm_wday : '3' , tm_yday : '169' , tm_mon : '5' , tm_isdst : '%d' ,
------------
IntlDateFormatter : DateType::FULL, TimeType::FULL Error : 'Date parsing failed: U_PARSE_ERROR'
-------------------------------