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
 [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: Sat Dec 21 16:01:28 2024 UTC