]> granicus.if.org Git - php/commitdiff
Fixed test case
authorDerick Rethans <github@derickrethans.nl>
Mon, 31 Aug 2020 11:31:23 +0000 (12:31 +0100)
committerDerick Rethans <github@derickrethans.nl>
Mon, 31 Aug 2020 11:31:23 +0000 (12:31 +0100)
ext/date/tests/big_year.phpt

index 6f86e524b5457344b8ec9cc2470fe154e6791093..07440179ef0416e4d3f9672f9dee9e47c9c12263 100644 (file)
@@ -6,12 +6,12 @@ Handling of large year values
 <?php
 date_default_timezone_set("America/Toronto");
 
-$t = mktime(0,0,0,1,1,292277026596);
+$t = mktime(0,0,0,1,1,2922770265);
 
 var_dump(date("r", $t));
 
 echo "OK\n";
 ?>
---EXPECT--
-string(39) "Fri, 01 Jan 292277026596 00:00:00 -0500"
+--EXPECTF--
+string(%d) "%s, 01 Jan 2922770265 00:00:00 -0500"
 OK