7/18/15

Bugzilla "Cannot determine local time zone" problem

I had this problem today and was pulling my hairs out trying to find a solution.
Below is the only fix that worked for me:
In 'lib/DateTime/TimeZone/Local.pm', find 'sub TimeZone {', right after it, put this next line:
return DateTime::TimeZone->new(name => 'Asia/Shanghai');
(Replace 'Asia/Shanghai' with your own timezone.)
Basically all the rest of this sub has no effect now.

Reload the error page, if it show another error says: "List::Util version 1.31 required...", open 'lib/List/AllUtils.pm', goto line 10, or find the line:
use List::Util 1.31 ();
Just delete '1.31'.

After that, it should work.  I'm using Bugzilla 4.4.9.

5 comments:

john said...

The issue has been resolved in the latest version of bugzilla.

timezzone said...

you can see time zone by the app for Android. TimeZone is a nice and funny Android application to know the timezone details of any place in the world. TimeZone has been designed and developed following the Google's guidelines to give the user a pretty and easy-to-use experience on smartphones and tablets running Android 3 (Honeycomb) or greater.

Mahjong Master Apk said...

Thank you for sharing. Your blog is very wonderful. Hope you keep to share more and more interesting post like this.

Dragon Shadow Battle Warriors said...

I had this problem along time. Thanks for your sharing.

Candy Crush Saga said...

Thanks a lot for sharing. TimeZone is a nice and funny Android application to know the timezone details of any place in the world