[Bug 1135981] New: DateTime::TimeZone::Locae::TimeZone::Local->TimeZone does not use /etc/locatime content (Cannot determine local time zone)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: iarnell@xxxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx



# 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
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux