]> granicus.if.org Git - php/commitdiff
MFH(r-1.2): putenv() should be put here as well.
authorMoriyoshi Koizumi <moriyoshi@php.net>
Tue, 5 Aug 2003 12:29:41 +0000 (12:29 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Tue, 5 Aug 2003 12:29:41 +0000 (12:29 +0000)
ext/standard/tests/time/bug13142.phpt

index 6e2bf87d319bc389af9309c2eeb63dd6f08b6920..f021bea6aa18caa899d4ac96a0526e3b8cc8caa8 100644 (file)
@@ -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"));   
 ?>