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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
45 + 13 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC