summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2012-02-05 10:35:56 +0000
committerRasmus Lerdorf <rasmus@php.net>2012-02-05 10:35:56 +0000
commit2500b7e5ba8d7b7f49a9f9547dc13e23e01a1956 (patch)
treed1fe005b6f34758591407e081b3224b43389019b
parentfe777cd4dbc20f3adeafb7e4d574abd9fc9c2112 (diff)
downloadphp-git-2500b7e5ba8d7b7f49a9f9547dc13e23e01a1956.tar.gz
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.
-rwxr-xr-xext/intl/tests/dateformat_localtime.phpt6
1 files changed, 3 insertions, 3 deletions
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