#26501 [Opn->Csd]: date() does not operate correctly if timezone is changed after compilation

From: Date: Tue, 02 Dec 2003 19:56:27 +0000
Subject: #26501 [Opn->Csd]: date() does not operate correctly if timezone is changed after compilation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51594@lists.php.net to get a copy of this message
ID: 26501 Updated by: sniper@php.net Reported By: ronnie at rustybrick dot com -Status: Open +Status: Closed Bug Type: Date/time related Operating System: Linux/FreeBSD PHP Version: 4.3.3 New Comment: Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php Previous Comments: ------------------------------------------------------------------------ [2003-12-02 13:27:20] ronnie at rustybrick dot com Apache ------------------------------------------------------------------------ [2003-12-02 13:24:16] iliaa@php.net Did you try php from apache or from command line? ------------------------------------------------------------------------ [2003-12-02 13:20:29] ronnie at rustybrick dot com Description: ------------ The date() function does not operate correctly if the timezone is changed after compilation without recompiling PHP. I verified this by echo date(":T:Z"); and running date at the prompt. The prompt said EST and the php script said PST. This is clearly wrong. Recompiling seems to help. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26501&edit=1

« previous php.bugs (#51594) next »