[Bug 1135981] New: DateTime::TimeZone::Locae::TimeZone::Local->TimeZone does not use /etc/locatime content (Cannot determine local time zone)
bugzilla at redhat.com
bugzilla at redhat.com
Mon Sep 1 11:59:44 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1135981
Bug ID: 1135981
Summary: DateTime::TimeZone::Locae::TimeZone::Local->TimeZone
does not use /etc/locatime content (Cannot determine
local time zone)
Product: Fedora
Version: rawhide
Component: perl-DateTime-TimeZone
Assignee: iarnell at gmail.com
Reporter: ppisar at redhat.com
QA Contact: extras-qa at fedoraproject.org
CC: iarnell at gmail.com, perl-devel at lists.fedoraproject.org
# perl -MDateTime::TimeZone::Locae::TimeZone::Local->TimeZone'
Cannot determine local time zone
It happens when /etc/localtime file does not have its copy under
/usr/share/zoneinfo.
This is a problem for koji builds. The file is copied from mock's hosts and
then newer tzdata package installed into the mock environment, so the copy copy
does not match anymore. The DateTime::TimeZone::Local::Unix reads:
Some systems just copy the relevant file to F</etc/localtime> instead
of making a symlink. In this case, we look in F</usr/share/zoneinfo>
for a file that has the same size and content as F</etc/localtime> to
determine the local time zone.
I propose to teach the module to read the zone identifier from /etc/localtime
content.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=reaFTM6DGI&a=cc_unsubscribe
More information about the perl-devel
mailing list