aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/Util.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2016-10-08 10:01:39 -0700
committerDylan William Hardison <dylan@hardison.net>2016-10-08 13:06:50 -0400
commitadcfe9f154e6751b842ba930de5300fe72214e4e (patch)
treea82226ab31930e1abe4319b962e02836040bb00a /Bugzilla/Util.pm
parentfe2251f5ddef052e7d529fc5a8b7d42e3e086b98 (diff)
downloadbugs-adcfe9f154e6751b842ba930de5300fe72214e4e.tar
bugs-adcfe9f154e6751b842ba930de5300fe72214e4e.tar.gz
bugs-adcfe9f154e6751b842ba930de5300fe72214e4e.tar.bz2
bugs-adcfe9f154e6751b842ba930de5300fe72214e4e.tar.xz
bugs-adcfe9f154e6751b842ba930de5300fe72214e4e.zip
Bug 1300437 - DateTime::TimeZone::offset_as_string called incorrectly (#19)
Diffstat (limited to 'Bugzilla/Util.pm')
-rw-r--r--Bugzilla/Util.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Util.pm b/Bugzilla/Util.pm
index bbf4261ca..5fe64621b 100644
--- a/Bugzilla/Util.pm
+++ b/Bugzilla/Util.pm
@@ -588,7 +588,7 @@ sub datetime_from {
second => defined($time[0]) ? int($time[0]) : undef,
# If a timezone was specified, use it. Otherwise, use the
# local timezone.
- time_zone => Bugzilla->local_timezone->offset_as_string($time[6])
+ time_zone => DateTime::TimeZone->offset_as_string($time[6])
|| Bugzilla->local_timezone,
);