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

From: Date: Tue, 02 Dec 2003 18:27:21 +0000
Subject: #26501 [Fbk->Opn]: 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-51582@lists.php.net to get a copy of this message
ID: 26501 User updated by: ronnie at rustybrick dot com Reported By: ronnie at rustybrick dot com -Status: Feedback +Status: Open Bug Type: Date/time related Operating System: Linux/FreeBSD PHP Version: 4.3.3 New Comment: Apache Previous Comments: ------------------------------------------------------------------------ [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 (#51582) next »