Bug 1537990
Summary: | Upgrade perl-DateTime-TimeZone to deliver 2018c Olson database | ||
---|---|---|---|
Product: | Red Hat Software Collections | Reporter: | Petr Pisar <ppisar> |
Component: | perl-DateTime-TimeZone | Assignee: | Jitka Plesnikova <jplesnik> |
Status: | CLOSED ERRATA | QA Contact: | Martin Kyral <mkyral> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rh-perl526 | CC: | jorton, jplesnik, kanderso, mkyral |
Target Milestone: | beta | Keywords: | FutureFeature, Rebase, Triaged |
Target Release: | 3.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rh-perl526-perl-DateTime-TimeZone-2.17-1.el7 | Doc Type: | Rebase: Bug Fixes Only |
Doc Text: |
The *DateTime::TimeZone* Perl module is now aware of recent time zone updates
Previously, the Olson time zone database was outdated. As a consequence, applications written in the Perl language that use the *DateTime::TimeZone* module mishandled time zones that changed their specifications since version 2017c. The _perl-DateTime-TimeZone_ package has been rebased to version 2.17, and the Olson time zone database has been updated to version 2018c. As a result, the *DateTime::TimeZone* module is aware of all time zone updates until version 2018c.
|
Story Points: | --- |
Clone Of: | 1536730 | Environment: | |
Last Closed: | 2018-05-03 07:59:08 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Petr Pisar
2018-01-24 09:14:31 UTC
The latest version is 2.17 and it provides 2018c Olson database. How to test: (1) Use DateTime Perl object with time and time zone whose rules changed after releasing 2017c Olson database (bundled within the old perl-DateTime-TimeZone-2.15-3.el7 package) and before releasing 2018c Olson database (provided within the new perl-DateTime-TimeZone-2.17-1.el7 package). E.g. these commands: $ scl enable rh-perl526 bash $ perl -e 'use DateTime; my $d=DateTime->new(year=>2018,month=>1,day=>1,hour=>1,minute=>0,second=>0,time_zone=>q{UTC}); $d->set_time_zone(q{Africa/Sao_Tome}); print $d->strftime(q{%FT%T%z}), qq{\n}' Before: 2018-01-01T01:00:00+0000 After: 2018-01-01T02:00:00+0100 (2) You can compare it with date(1) output that uses database from tzdata package: $ TZ=Africa/Sao_Tome date --date '2018-01-01T01:00:00+0000' '+%FT%T%z' 2018-01-01T02:00:00+0100 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:1303 |