ID: 31957
User updated by: freebsd at mwi dot dk
Reported By: freebsd at mwi dot dk
-Status: Bogus
+Status: Closed
Bug Type: Date/time related
Operating System: FreeBSD 4.10
PHP Version: 4.3.8
New Comment:
Sorry - I found all the right names in zoneinfo:
locate zoneinfo | more
Previous Comments:
------------------------------------------------------------------------
[2005-02-13 18:30:59] [EMAIL PROTECTED]
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