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

From: Date: Tue, 02 Dec 2003 18:24:16 +0000
Subject: #26501 [Opn->Fbk]: 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-51581@lists.php.net to get a copy of this message
ID: 26501 Updated by: iliaa@php.net Reported By: ronnie at rustybrick dot com -Status: Open +Status: Feedback Bug Type: Date/time related Operating System: Linux/FreeBSD PHP Version: 4.3.3 New Comment: Did you try php from apache or from command line? Previous Comments: ------------------------------------------------------------------------ [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 (#51581) next »