cvs: php4 /ext/standard/tests/time 002.phpt
| From: | Jani Taskinen | Date: | Mon, 22 Oct 2001 02:35:10 +0000 |
| Subject: | cvs: php4 /ext/standard/tests/time 002.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7904@lists.php.net to get a copy of this message | ||
sniper Sun Oct 21 22:35:10 2001 EDT
Modified files:
/php4/ext/standard/tests/time 002.phpt
Log:
Fixed bug: #12617
Index: php4/ext/standard/tests/time/002.phpt
diff -u php4/ext/standard/tests/time/002.phpt:1.1 php4/ext/standard/tests/time/002.phpt:1.2
--- php4/ext/standard/tests/time/002.phpt:1.1 Sun May 6 14:33:49 2001
+++ php4/ext/standard/tests/time/002.phpt Sun Oct 21 22:35:10 2001
@@ -4,6 +4,8 @@
--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 @@
?>
--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