php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26501 date() does not operate correctly if timezone is changed after compilation
Submitted: 2003-12-02 13:20 UTC Modified: 2003-12-02 14:56 UTC
From: ronnie at rustybrick dot com Assigned:
Status: Closed Package: Date/time related
PHP Version: 4.3.3 OS: Linux/FreeBSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ronnie at rustybrick dot com
New email:
PHP Version: OS:

 

 [2003-12-02 13:20 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-02 13:24 UTC] iliaa@php.net
Did you try php from apache or from command line?
 [2003-12-02 13:27 UTC] ronnie at rustybrick dot com
Apache
 [2003-12-02 14:56 UTC] sniper@php.net
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


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 18:01:32 2024 UTC