Browse Source

putenv() should be put here as well.

PEAR_1_4DEV
Moriyoshi Koizumi 23 years ago
parent
commit
0ff21d0370
  1. 1
      ext/standard/tests/time/bug13142.phpt

1
ext/standard/tests/time/bug13142.phpt

@ -8,6 +8,7 @@ if (!@putenv("TZ=US/Eastern") || getenv("TZ") != 'US/Eastern') {
?>
--FILE--
<?php
putenv("TZ=US/Eastern");
echo date("r\n", strtotime("Sep 04 16:39:45 2001"));
echo date("r\n", strtotime("Sep 04 2001 16:39:45"));
?>

Loading…
Cancel
Save