Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-19126

Outdated data in perl-DateTime-TimeZone [rhel-8]

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-8.10
    • rhel-8.8.0, rhel-8.9.0
    • perl-DateTime-TimeZone
    • None
    • perl-DateTime-TimeZone-2.62-1.el8
    • None
    • None
    • Rebase
    • sst_cs_apps
    • ssg_core_services
    • 16
    • 19
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • All
    • None

      Example reproducer:

      # perl -MDateTime -e 'print DateTime->now()->set_time_zone("America/Sao_Paulo"), "\n";' 

      is returning UTC-2 instead of UTC-3 at the time of this report.

      Replacing /usr/share/perl5/vendor_perl/DateTime/TimeZone/America/Sao_Paulo.pm with contents of https://metacpan.org/release/DROLSKY/DateTime-TimeZone-2.60/source/lib/DateTime/TimeZone/America/Sao_Paulo.pm#PDateTime::TimeZone::America::Sao_Paulo corrects the issue.

      Solution to this issue should be to somehow tie updates to any kind of tzdata update to also update perl-DateTime-TimeZone as the current data is from 2018.

            jplesnik@redhat.com Jitka Plesnikova
            rhn-support-pandrade Paulo Andrade
            Jitka Plesnikova Jitka Plesnikova
            Martin Kyral Martin Kyral
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: