Edit report at https://bugs.php.net/bug.php?id=61685&edit=1

 ID:                 61685
 Updated by:         paj...@php.net
 Reported by:        mattfic...@php.net
 Summary:            putenv('TZ=UTC') doesn't update timezone for
                     localtime()
 Status:             Feedback
 Type:               Bug
 Package:            Calendar related
 Operating System:   Windows
 PHP Version:        5.4.0
-Assigned To:        
+Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

Anatolyi, please apply it when you can :)


Previous Comments:
------------------------------------------------------------------------
[2012-04-27 22:50:14] der...@php.net

Laruence, unixtojd is not part of the date extension, so this is a value bug 
report. The patch looks good, can you make a pull request against 5.3?

------------------------------------------------------------------------
[2012-04-27 22:27:13] mattfic...@php.net

Newest patch fixes test to work around the new behavior of putenv("TZ=UTC") and 
includes some more info about this problem.

This patch works on 5.3.11 and 5.4.1 on Windows 7 and Gentoo (both x86 and x64).

------------------------------------------------------------------------
[2012-04-27 22:26:07] mattfic...@php.net

The following patch has been added/updated:

Patch Name: 61685
Revision:   1335565567
URL:        
https://bugs.php.net/patch-display.php?bug=61685&patch=61685&revision=1335565567

------------------------------------------------------------------------
[2012-04-10 04:38:52] larue...@php.net

- Date extension
463          - Setting the timezone with the TZ environment variable is no 
longer
464            supported, instead date.timezone and/or 
date_default_timezone_set()
465            have to be used.

http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/UPGRADING?view=markup

------------------------------------------------------------------------
[2012-04-09 21:53:46] mattfic...@php.net

The following patch has been added/updated:

Patch Name: unixtojd.patch.txt
Revision:   1334008426
URL:        
https://bugs.php.net/patch-display.php?bug=61685&patch=unixtojd.patch.txt&revision=1334008426

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=61685


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61685&edit=1

Reply via email to