php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8502 TZ env variable ignored still by date()
Submitted: 2000-12-31 13:39 UTC Modified: 2001-01-09 04:07 UTC
From: gerard at idita dot com Assigned:
Status: Closed Package: Date/time related
PHP Version: 4.0.4 OS: Linux / RH7
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: gerard at idita dot com
New email:
PHP Version: OS:

 

 [2000-12-31 13:39 UTC] gerard at idita dot com
Bug refers to bug #3977, #4732, and #5510 which were closed
but are indeed still broken. I've tried with 4.0.3 on a RH7
box and on a Debian/potato box with 4.0.4.

Basically, setting putenv("TZ=.....") to whatever timezone
is ignored by date(). This works fine in php3.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-09 04:07 UTC] sniper@php.net
Fixed in CVS now for real.

--Jani
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC