Bug 1537990 - Upgrade perl-DateTime-TimeZone to deliver 2018c Olson database
Summary: Upgrade perl-DateTime-TimeZone to deliver 2018c Olson database
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: perl-DateTime-TimeZone
Version: rh-perl526
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 3.1
Assignee: Jitka Plesnikova
QA Contact: Martin Kyral
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-24 09:14 UTC by Petr Pisar
Modified: 2018-05-03 07:59 UTC (History)
4 users (show)

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.
Clone Of: 1536730
Environment:
Last Closed: 2018-05-03 07:59:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:1303 0 None None None 2018-05-03 07:59:39 UTC

Description Petr Pisar 2018-01-24 09:14:31 UTC
+++ This bug was initially created as a clone of Bug #1536730 +++

Latest upstream release: 2.16
Current version/release in rawhide: 2.15-1.fc28
URL: http://search.cpan.org/dist/DateTime-TimeZone/

---

rh-perl526-perl-DateTime-TimeZone-2.15-3.el7 delivers 2018b Olson database. There is new 2018c database provided within DateTime-TimeZone-2.16.

Comment 1 Jitka Plesnikova 2018-01-24 09:31:34 UTC
The latest version is 2.17 and it provides 2018c Olson database.

Comment 2 Jitka Plesnikova 2018-02-01 12:51:43 UTC
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

Comment 7 errata-xmlrpc 2018-05-03 07:59:08 UTC
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


Note You need to log in before you can comment on or make changes to this bug.