From: Rasmus Lerdorf Date: Sun, 5 Feb 2012 10:35:56 +0000 (+0000) Subject: Same thing here. "June 18, 1969 8:49:59 AM " does not contain a timezone, so there X-Git-Tag: php-5.5.0alpha1~552 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6659010dc94c2b865c55e3aaddc908f9e35066ed;p=php Same thing here. "June 18, 1969 8:49:59 AM " does not contain a timezone, so there is no way to know whether dst should be applied or not. --- diff --git a/ext/intl/tests/dateformat_localtime.phpt b/ext/intl/tests/dateformat_localtime.phpt index 0e9a4c34ab..0f04a653f4 100755 --- a/ext/intl/tests/dateformat_localtime.phpt +++ b/ext/intl/tests/dateformat_localtime.phpt @@ -92,7 +92,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 @@ -110,7 +110,7 @@ Input text is : June 18, 1969 8:49:59 AM IntlDateFormatter : DateType::LONG, TimeType::LONG ------------ 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 ------------------------------- @@ -130,4 +130,4 @@ IntlDateFormatter : DateType::LONG, TimeType::LONG ------------ IntlDateFormatter : DateType::MEDIUM, TimeType::MEDIUM ------------ -IntlDateFormatter : DateType::FULL, TimeType::FULL \ No newline at end of file +IntlDateFormatter : DateType::FULL, TimeType::FULL