summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2005-06-18 10:25:40 +0000
committerDerick Rethans <derick@php.net>2005-06-18 10:25:40 +0000
commitcbc98fb3c041b6dc985d6c28ab2cc2dcb8546158 (patch)
tree3b4c5b25c06148892c5da182f8c8cb838fac63e7 /ext
parentb900a9685222e2f62bfced3d9136e38c5a1365a3 (diff)
downloadphp-git-cbc98fb3c041b6dc985d6c28ab2cc2dcb8546158.tar.gz
- Fixed test case
#- Still not sure why the first TS is incorrect...
Diffstat (limited to 'ext')
-rw-r--r--ext/date/tests/bug32270.phpt14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/date/tests/bug32270.phpt b/ext/date/tests/bug32270.phpt
index 7f8b414118..2c5ff47549 100644
--- a/ext/date/tests/bug32270.phpt
+++ b/ext/date/tests/bug32270.phpt
@@ -2,24 +2,24 @@
Bug #32270 (strtotime/date behavior)
--FILE--
<?php
-putenv("TZ=America/New_York");
+putenv("TZ=America/Los_Angeles");
-echo date("m/d/Y H:i:s", -2145888000)."\n";
+echo date("m/d/Y H:i:s T", -2145888000)."\n";
echo strtotime("Jan 1 1902")."\n";
-echo date("m/d/Y H:i:s", -631123200)."\n";
+echo date("m/d/Y H:i:s T", -631123200)."\n";
echo strtotime("Jan 1 1950")."\n";
-echo date("m/d/Y H:i:s", 946713600)."\n";
+echo date("m/d/Y H:i:s T", 946713600)."\n";
echo strtotime("Jan 1 2000")."\n";
?>
--EXPECT--
-01/01/1902 00:00:00
+01/01/1902 00:00:00 PST
-2145888000
-01/01/1950 00:00:00
+01/01/1950 00:00:00 PST
-631123200
-01/01/2000 00:00:00
+01/01/2000 00:00:00 PST
946713600