|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2012-04-09 21:53 UTC] mattficken@php.net
Description:
------------
Regarding Test: ext/calendar/tests/unixtojd.phpt
Test calls putenv('TZ=UTC') but result of unixtojd(1000000000) is off by -1 day unless TZ=UTC is added to the ENV section.
Test script:
---------------
see ext/calendar/tests/unixtojd.phpt
Expected result:
----------------
Pass
Actual result:
--------------
Fail
Patches61685 (last revision 2012-04-27 22:26 UTC by mattficken@php.net)unixtojd.patch.txt (last revision 2012-04-09 21:53 UTC by mattficken@php.net) Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 00:00:01 2025 UTC |
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).