|
|
1ccd29 |
diff -up ./ext/date/tests/bug33414-2.phpt.datetests ./ext/date/tests/bug33414-2.phpt
|
|
|
1ccd29 |
--- ./ext/date/tests/bug33414-2.phpt.datetests 2020-04-09 14:06:11.000000000 +0200
|
|
|
1ccd29 |
+++ ./ext/date/tests/bug33414-2.phpt 2020-04-09 14:40:00.809433489 +0200
|
|
|
1ccd29 |
@@ -74,10 +74,10 @@ $strtotime_tstamp = strtotime("next Frid
|
|
|
1ccd29 |
print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
|
|
|
1ccd29 |
print "wanted=Friday 00:00:00\n\n";
|
|
|
1ccd29 |
?>
|
|
|
1ccd29 |
---EXPECT--
|
|
|
1ccd29 |
+--EXPECTF--
|
|
|
1ccd29 |
TZ=Pacific/Rarotonga - wrong day.
|
|
|
1ccd29 |
-tStamp=Thursday 1970-01-01 17:17:17 -1030 0
|
|
|
1ccd29 |
-result=Tuesday 1970-01-06 00:00:00 -1030 0
|
|
|
1ccd29 |
+tStamp=Thursday 1970-01-01 17:17:17 %s
|
|
|
1ccd29 |
+result=Tuesday 1970-01-06 00:00:00 %s
|
|
|
1ccd29 |
wanted=Tuesday 00:00:00
|
|
|
1ccd29 |
|
|
|
1ccd29 |
TZ=Atlantic/South_Georgia - wrong day.
|
|
|
1ccd29 |
@@ -91,13 +91,13 @@ result=Monday 2005-04-04 00:00:00 EDT 1
|
|
|
1ccd29 |
wanted=Monday 00:00:00
|
|
|
1ccd29 |
|
|
|
1ccd29 |
TZ=Pacific/Enderbury - wrong day, off by 2 days.
|
|
|
1ccd29 |
-tStamp=Thursday 1970-01-01 17:17:17 -12 0
|
|
|
1ccd29 |
-result=Monday 1970-01-05 00:00:00 -12 0
|
|
|
1ccd29 |
+tStamp=Thursday 1970-01-01 17:17:17 %s
|
|
|
1ccd29 |
+result=Monday 1970-01-05 00:00:00 %s
|
|
|
1ccd29 |
wanted=Monday 00:00:00
|
|
|
1ccd29 |
|
|
|
1ccd29 |
TZ=Pacific/Kiritimati - wrong day, off by 2 days.
|
|
|
1ccd29 |
-tStamp=Thursday 1970-01-01 17:17:17 -1040 0
|
|
|
1ccd29 |
-result=Monday 1970-01-05 00:00:00 -1040 0
|
|
|
1ccd29 |
+tStamp=Thursday 1970-01-01 17:17:17 %s
|
|
|
1ccd29 |
+result=Monday 1970-01-05 00:00:00 %s
|
|
|
1ccd29 |
wanted=Monday 00:00:00
|
|
|
1ccd29 |
|
|
|
1ccd29 |
TZ=America/Managua - wrong day.
|
|
|
1ccd29 |
@@ -106,13 +106,13 @@ result=Tuesday 2005-04-12 00:00:00 CDT 1
|
|
|
1ccd29 |
wanted=Tuesday 00:00:00
|
|
|
1ccd29 |
|
|
|
1ccd29 |
TZ=Pacific/Pitcairn - wrong day.
|
|
|
1ccd29 |
-tStamp=Thursday 1970-01-01 17:17:17 -0830 0
|
|
|
1ccd29 |
-result=Wednesday 1970-01-07 00:00:00 -0830 0
|
|
|
1ccd29 |
+tStamp=Thursday 1970-01-01 17:17:17 %s
|
|
|
1ccd29 |
+result=Wednesday 1970-01-07 00:00:00 %s
|
|
|
1ccd29 |
wanted=Wednesday 00:00:00
|
|
|
1ccd29 |
|
|
|
1ccd29 |
TZ=Pacific/Fakaofo - wrong day.
|
|
|
1ccd29 |
-tStamp=Thursday 1970-01-01 17:17:17 -11 0
|
|
|
1ccd29 |
-result=Saturday 1970-01-03 00:00:00 -11 0
|
|
|
1ccd29 |
+tStamp=Thursday 1970-01-01 17:17:17 %s
|
|
|
1ccd29 |
+result=Saturday 1970-01-03 00:00:00 %s
|
|
|
1ccd29 |
wanted=Saturday 00:00:00
|
|
|
1ccd29 |
|
|
|
1ccd29 |
TZ=Pacific/Johnston - wrong day.
|
|
|
1ccd29 |
diff -up ./ext/date/tests/bug66985.phpt.datetests ./ext/date/tests/bug66985.phpt
|
|
|
1ccd29 |
--- ./ext/date/tests/bug66985.phpt.datetests 2020-04-09 14:06:11.000000000 +0200
|
|
|
1ccd29 |
+++ ./ext/date/tests/bug66985.phpt 2020-04-09 14:40:37.099288185 +0200
|
|
|
1ccd29 |
@@ -3,7 +3,7 @@ Bug #66985 (Some timezones are no longer
|
|
|
1ccd29 |
--FILE--
|
|
|
1ccd29 |
|
|
|
1ccd29 |
$zones = array(
|
|
|
1ccd29 |
- "CST6CDT", "Cuba", "Egypt", "Eire", "EST5EDT", "Factory", "GB-Eire",
|
|
|
1ccd29 |
+ "CST6CDT", "Cuba", "Egypt", "Eire", "EST5EDT", "GB-Eire",
|
|
|
1ccd29 |
"GMT0", "Greenwich", "Hongkong", "Iceland", "Iran", "Israel", "Jamaica",
|
|
|
1ccd29 |
"Japan", "Kwajalein", "Libya", "MST7MDT", "Navajo", "NZ-CHAT", "Poland",
|
|
|
1ccd29 |
"Portugal", "PST8PDT", "Singapore", "Turkey", "Universal", "W-SU",
|
|
|
1ccd29 |
@@ -45,11 +45,6 @@ DateTimeZone Object
|
|
|
1ccd29 |
)
|
|
|
1ccd29 |
DateTimeZone Object
|
|
|
1ccd29 |
(
|
|
|
1ccd29 |
- [timezone_type] => 3
|
|
|
1ccd29 |
- [timezone] => Factory
|
|
|
1ccd29 |
-)
|
|
|
1ccd29 |
-DateTimeZone Object
|
|
|
1ccd29 |
-(
|
|
|
1ccd29 |
[timezone_type] => 3
|
|
|
1ccd29 |
[timezone] => GB-Eire
|
|
|
1ccd29 |
)
|
|
|
1ccd29 |
diff -up ./ext/date/tests/strtotime3-64bit.phpt.datetests ./ext/date/tests/strtotime3-64bit.phpt
|
|
|
1ccd29 |
--- ./ext/date/tests/strtotime3-64bit.phpt.datetests 2020-04-09 14:06:11.000000000 +0200
|
|
|
1ccd29 |
+++ ./ext/date/tests/strtotime3-64bit.phpt 2020-04-09 14:40:00.809433489 +0200
|
|
|
1ccd29 |
@@ -44,7 +44,7 @@ foreach ($strs as $str) {
|
|
|
1ccd29 |
}
|
|
|
1ccd29 |
|
|
|
1ccd29 |
?>
|
|
|
1ccd29 |
---EXPECT--
|
|
|
1ccd29 |
+--EXPECTF--
|
|
|
1ccd29 |
bool(false)
|
|
|
1ccd29 |
bool(false)
|
|
|
1ccd29 |
string(31) "Thu, 15 Jun 2006 00:00:00 +0100"
|
|
|
1ccd29 |
@@ -53,7 +53,7 @@ bool(false)
|
|
|
1ccd29 |
string(31) "Fri, 16 Jun 2006 23:49:12 +0100"
|
|
|
1ccd29 |
bool(false)
|
|
|
1ccd29 |
string(31) "Fri, 16 Jun 2006 02:22:00 +0100"
|
|
|
1ccd29 |
-string(31) "Sun, 16 Jun 0222 02:22:00 -0036"
|
|
|
1ccd29 |
+string(31) "Sun, 16 Jun 0222 02:22:00 %s"
|
|
|
1ccd29 |
string(31) "Fri, 16 Jun 2006 02:22:33 +0100"
|
|
|
1ccd29 |
bool(false)
|
|
|
1ccd29 |
string(31) "Tue, 02 Mar 2004 00:00:00 +0000"
|