]> granicus.if.org Git - php/commitdiff
Fixed bug: #12617
authorfoobar <sniper@php.net>
Mon, 22 Oct 2001 02:35:10 +0000 (02:35 +0000)
committerfoobar <sniper@php.net>
Mon, 22 Oct 2001 02:35:10 +0000 (02:35 +0000)
ext/standard/tests/time/002.phpt

index 766af4d7734fac6efffb184cfab90a122386892a..57325af4c4b5103640062391d01b9a9b946b3e75 100644 (file)
@@ -4,6 +4,8 @@ strtotime() function
 --GET--
 --FILE--
 <?php
+       putenv("TZ=GMT");
+
        echo "1999-10-13\n";
        echo strtotime ("1999-10-13")."\n";
        echo strtotime ("Oct 13  1999")."\n\n";
@@ -23,18 +25,18 @@ strtotime() function
 ?>
 --EXPECT--
 1999-10-13
-939765600
-939765600
+939772800
+939772800
 
 2000-01-19
-948236400
-948236400
+948240000
+948240000
 
 2001-12-21
-1008889200
-1008889200
+1008892800
+1008892800
 
 2001-12-21 12:16
-1008933360
-1008933360
+1008936960
+1008936960
 -1