Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bugzilla 3.4 Timezone error

219 views
Skip to first unread message

mike.fe...@practiceworks.com

unread,
Jul 29, 2009, 1:41:20 PM7/29/09
to
I just upgraded to version 3.4. When I try to view a bug I get the
error ... undef error - Cannot determine local time zone.

After some googling I found a workaround fix
I resolved it by putting BEGIN { $ENV{TZ} = 'America/Denver' } in the
Bugzilla/Util.pm file. See example below.

use Date::Parse;
use Date::Format;
BEGIN { $ENV{TZ} = 'America/Denver' }
use DateTime;
use DateTime::TimeZone;
use Text::Wrap;

Any ideas why that would be needed?

Steve Wendt

unread,
Jul 29, 2009, 2:33:22 PM7/29/09
to
On 7/29/2009 10:41 AM, mike.fe...@practiceworks.com wrote:

> I just upgraded to version 3.4. When I try to view a bug I get the
> error ... undef error - Cannot determine local time zone.

What OS are you running on? Is the time zone configured in the OS?

mike.fe...@practiceworks.com

unread,
Jul 29, 2009, 4:56:17 PM7/29/09
to
On Jul 29, 2:33 pm, Steve Wendt <spam...@forgetit.org> wrote:

> On 7/29/2009 10:41 AM, mike.fehlin...@practiceworks.com wrote:
>
> > I just upgraded to version 3.4.  When I try to view a bug I get the
> > error ... undef error - Cannot determine local time zone.
>
> What OS are you running on?  Is the time zone configured in the OS?

The server is running Windows2000 and Bugzilla is configured to run
under IIS. The time zone is configured in the OS.

Frédéric Buclin

unread,
Jul 29, 2009, 7:14:00 PM7/29/09
to
Le 29. 07. 09 22:56, mike.fe...@practiceworks.com a �crit :

> The server is running Windows2000 and Bugzilla is configured to run
> under IIS. The time zone is configured in the OS.

I also have an installation on Windows 2000 SP4, and I have no problem
related to the timezone. We require DateTime::TimeZone 0.79 or higher on
Windows to prevent this problem, see
https://bugzilla.mozilla.org/show_bug.cgi?id=472458. Maybe you don't
have SP4 installed?

LpSolit

0 new messages