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

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