#31957 [Csd->Bgs]: putenv failing with TZ (still a problem)
| From: | sniper@php.net | Date: | Sun, 13 Feb 2005 17:39:54 +0000 |
| Subject: | #31957 [Csd->Bgs]: putenv failing with TZ (still a problem) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73980@lists.php.net to get a copy of this message | ||
ID: 31957
Updated by: sniper@php.net
Reported By: freebsd at mwi dot dk
-Status: Closed
+Status: Bogus
Bug Type: Date/time related
Operating System: FreeBSD 4.10
PHP Version: 4.3.8
New Comment:
Still not PHP bug -> keep it bogus. :)
Previous Comments:
------------------------------------------------------------------------
[2005-02-13 18:37:11] freebsd at mwi dot dk
Sorry - I found all the right names in zoneinfo:
locate zoneinfo | more
------------------------------------------------------------------------
[2005-02-13 18:30:59] sniper@php.net
Works fine for me. Are you sure there IS a timezone called US/Central
in your system? (these vary from OS to OS..)
------------------------------------------------------------------------
[2005-02-13 18:23:04] freebsd at mwi dot dk
Description:
------------
TZ changes will not affect time
Same as bug #8609
Reproduce code:
---------------
# foo.php
putenv("TZ=Greenwich");
echo date("H")."\n";
putenv("TZ=US/Central");
echo date("H")."\n";
putenv("TZ=Greenwich");
echo date("H")."\n";
Expected result:
----------------
Not the same 3 numbers
Actual result:
--------------
17 17 17
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31957&edit=1