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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

History

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

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC