Hide Forgot
+++ This bug was initially created as a clone of Bug #1536730 +++ Latest upstream release: 2.16 ---- perl-DateTime-TimeZone-1.70-1.el7 delivers 2018b Olson database. Latest Olson database is 2018c.
The latest version is 2.17 and it provides 2018c Olson database. perl-DateTime-TimeZone-1.70-1.el7 delivers 2017b Olson database
Latest Olson database is 2018e.
Latest Olson database is 2018f.
Olson database 2018g changed tzdata format (added 25:00 time as discussed in bug #1646930). perl-DateTime-TimeZone build script needs some adjustments, see <https://lwn.net/Articles/771114/>.
(In reply to Petr Pisar from comment #4) > perl-DateTime-TimeZone build script needs some adjustments, > see <https://lwn.net/Articles/771114/>. Actually <https://lwn.net/Articles/771115/>.
Upstream DateTime-TimeZone-2.21 provides 2018g. 2.21 and 2.20 tools/parse_olson as well as lib/DateTime/TimeZone/OlsonDB* are the same. 2.20 supports 2018g.
We will provide update to the latest 2018i database. How to test: (1) Install "perl(DateTime)" and /usr/bin/perl. (2) Print a 2019-01-01T00:00:00 UTC time for Africa/Sao_Tome zone. There was a change in 2018i database. Before: $ perl -e 'use DateTime; my $d=DateTime->new(year=>2019,month=>1,day=>1,hour=>0,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}' 2019-01-01T00:00:00+0000 After: $ perl -e 'use DateTime; my $d=DateTime->new(year=>2019,month=>1,day=>1,hour=>0,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}' 2019-01-01T01:00:00+0100 (2) You can cross-check it with glibc: $ TZ=Africa/Sao_Tome date --date '2019-01-01T00:00:00+0000' '+%FT%T%z' 2019-01-01T01: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-2019:2092