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

Timezone name changes between set and get

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-9.4
    • perl-DateTime-TimeZone
    • None
    • None
    • None
    • rhel-sst-cs-stacks
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Enhancement
    • Hide
      .The `name()` method of the `perl-DateTime-TimeZone` module now returns the time zone name

      The `perl-DateTime-TimeZone` module has been updated to version 2.62, which changed the value that is returned by the `name()` method from the time zone alias to the main time zone name.

      For more information and an example, see the Knowledgebase article link:https://access.redhat.com/articles/7071022[Change in the perl-DateTime-TimeZone API related to time zone name and alias].
      Show
      .The `name()` method of the `perl-DateTime-TimeZone` module now returns the time zone name The `perl-DateTime-TimeZone` module has been updated to version 2.62, which changed the value that is returned by the `name()` method from the time zone alias to the main time zone name. For more information and an example, see the Knowledgebase article link: https://access.redhat.com/articles/7071022 [Change in the perl-DateTime-TimeZone API related to time zone name and alias].
    • Done
    • None

      What were you trying to do that didn't work?

      Software expects to be able to read back a timezone name which is consistent with the configured name.

      Please provide the package NVR for which bug is seen:

      2.62-1.el9

      How reproducible:

      Any timezone which changed to "linked" will show this behaviour.

      Steps to reproduce

      use DateTime::TimeZone;
      my $tz = DateTime::TimeZone->new( name => 'Europe/Copenhagen' );
      my $name = $tz->name;
      print "$name\n";

      Expected results

      Europe/Copenhagen

      Actual results

      Europe/Berlin

              mspacek@redhat.com Michal Josef Spacek
              tgc760 Tom Gravgaard Christensen
              perl-maint-list perl-maint-list
              bot rhel-cs-apps-subsystem-qe bot rhel-cs-apps-subsystem-qe
              Lenka Špačková Lenka Špačková
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: