From:             [EMAIL PROTECTED]
Operating system: Debian 2.2/Linux 2.2.17
PHP version:      4.0.3pl1
PHP Bug Type:     Date/time related
Bug description:  date() and friends do not honor TZ environment variable correctly

The following prints the expected output on one box:

 putenv("TZ=PST");
 print date("l, jS of F, Y @ H:i (T)");

The other box always presents the system-default timezone. Worse, if I hammer the 
first box the right way (it seems to be mostly flat-out reloading, but sometimes it 
just happens immediately), it'll spontaniously display the system-default timezone as 
well, if only for one page reload.

Both boxes have the timezone data (/usr/lshare/zoneinfo/*), have the same revisions of 
glibc2 from Debian (2.1.3-13), the same php4/apache packages from Debian, same kernel 
version (although with different compliation options), etc.. 

Thanks in advance :)


-- 
Edit Bug report at: http://bugs.php.net/?id=8748&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to