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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
# 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
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel