com php-src: relax test for date < INT32_MIN (new z ic): ext/date/tests/mktime-3-64bit.phpt
| From: | Remi Collet | Date: | Sat, 18 Apr 2015 07:28:29 +0000 |
| Subject: | com php-src: relax test for date < INT32_MIN (new z ic): ext/date/tests/mktime-3-64bit.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86365@lists.php.net to get a copy of this message | ||
Commit: 3c81e945a3c61ea3ec00eeb946e95a1f9b92b956
Author: Remi Collet <remi@php.net> Sat, 18 Apr 2015 09:28:29 +0200
Parents: 984f4b09e028b93e6ab3b738d9bde670fca6fc95
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3c81e945a3c61ea3ec00eeb946e95a1f9b92b956
Log:
relax test for date < INT32_MIN (new zic)
Changed paths:
M ext/date/tests/mktime-3-64bit.phpt
Diff:
diff --git a/ext/date/tests/mktime-3-64bit.phpt b/ext/date/tests/mktime-3-64bit.phpt
index a3649cd..cbb441f 100644
--- a/ext/date/tests/mktime-3-64bit.phpt
+++ b/ext/date/tests/mktime-3-64bit.phpt
@@ -24,7 +24,7 @@ foreach ($tzs as $tz) {
echo "\n";
}
?>
---EXPECT--
+--EXPECTF--
America/Toronto
Y: 0 - January 2000-01-01T01:01:01-0500
Y: 69 - January 2069-01-01T01:01:01-0500
@@ -32,11 +32,11 @@ Y: 70 - January 1970-01-01T01:01:01-0500
Y: 71 - January 1971-01-01T01:01:01-0500
Y: 99 - January 1999-01-01T01:01:01-0500
Y: 100 - January 2000-01-01T01:01:01-0500
-Y: 101 - January 0101-01-01T01:01:01-0500
-Y: 105 - January 0105-01-01T01:01:01-0500
-Y: 110 - January 0110-01-01T01:01:01-0500
-Y: 1900 - January 1900-01-01T01:01:01-0500
-Y: 1901 - January 1901-01-01T01:01:01-0500
+Y: 101 - January 0101-01-01T01:01:01-0%d
+Y: 105 - January 0105-01-01T01:01:01-0%d
+Y: 110 - January 0110-01-01T01:01:01-0%d
+Y: 1900 - January 1900-01-01T01:01:01-0%d
+Y: 1901 - January 1901-01-01T01:01:01-0%d
Y: 1902 - January 1902-01-01T01:01:01-0500
Y: 1999 - January 1999-01-01T01:01:01-0500
Y: 2000 - January 2000-01-01T01:01:01-0500
@@ -49,11 +49,11 @@ Y: 70 - January 1970-01-01T01:01:01+0100
Y: 71 - January 1971-01-01T01:01:01+0100
Y: 99 - January 1999-01-01T01:01:01+0100
Y: 100 - January 2000-01-01T01:01:01+0100
-Y: 101 - January 0101-01-01T01:01:01+0100
-Y: 105 - January 0105-01-01T01:01:01+0100
-Y: 110 - January 0110-01-01T01:01:01+0100
-Y: 1900 - January 1900-01-01T01:01:01+0100
-Y: 1901 - January 1901-01-01T01:01:01+0100
+Y: 101 - January 0101-01-01T01:01:01+0%d
+Y: 105 - January 0105-01-01T01:01:01+0%d
+Y: 110 - January 0110-01-01T01:01:01+0%d
+Y: 1900 - January 1900-01-01T01:01:01+0%d
+Y: 1901 - January 1901-01-01T01:01:01+0%d
Y: 1902 - January 1902-01-01T01:01:01+0100
Y: 1999 - January 1999-01-01T01:01:01+0100
Y: 2000 - January 2000-01-01T01:01:01+0100