Bug 1101251
Summary: | Upgrade perl-DateTime-TimeZone to deliver time zone updates | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Petr Pisar <ppisar> | ||||||
Component: | perl-DateTime-TimeZone | Assignee: | Petr Pisar <ppisar> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Martin Kyral <mkyral> | ||||||
Severity: | medium | Docs Contact: | Adam Kvitek <akvitek> | ||||||
Priority: | unspecified | ||||||||
Version: | 7.1 | CC: | asanders, berrange, damonkorbin, fradisel, hamzamaq9166, jkejda, jorton, jwakely, laetoto.live, ljglmail, lkuprova, mkyral, ovasik, vslavik | ||||||
Target Milestone: | rc | Keywords: | Patch, Rebase | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
URL: | http://search.cpan.org/dist/DateTime-TimeZone/ | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | perl-DateTime-TimeZone-1.70-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 2013h. The _perl-DateTime-TimeZone_ package has been rebased to version 1.70, and the Olson time zone database has been updated to version 2017b. As a result, the *DateTime::TimeZone* module is aware of all time zone updates until version 2017b.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2018-04-10 08:38:24 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | 1136407 | ||||||||
Bug Blocks: | 1110708, 1191019, 1420851, 1465904, 1466370 | ||||||||
Attachments: |
|
Description
Petr Pisar
2014-05-26 12:58:52 UTC
Current upstream version is 1.74. The changes since 1.69 are: 1.74 2014-08-30 - This release is based on version 2014g of the Olson database. This release includes contemporary changes for Turks & Caicos. - Fixed a bug when trying to get the local timezone by looking at /etc/sysconfig/clock. Patch by Alexey Molchanov. GitHub PR #2. 1.73 2014-08-06 - This release is based on version 2014f of the Olson database. This release includes contemporary changes for Russia and Australia. 1.72 2014-08-03 - Added support for getting the local time zone on Android. Patch from Brian Fraser. RT #97711. - The primary repo for this distro is now on GitHub. 1.71 2014-06-21 - This release is based on version 2014e of the Olson database. This release includes contemporary changes for Egypt and Morocco. 1.70 2014-06-01 - Unset $ENV{TZ} in the t/04local.t test to avoid interference from the system. Reported by Mark Gardner. RT #96083. - This release is based on version 2014d of the IANA database, but there are no data changes from 2014c. The 1.74 breaks perl-DateTime tests. There is a simple fix for the perl-DateTime <http://pkgs.fedoraproject.org/cgit/perl-DateTime.git/commit/?h=f20&id=7a22f1f6770a1b0efa703fbbec433bb9a61e7566>. The 1.71 version requires a new Perl module List::AllUtils. (In reply to Petr Pisar from comment #2) > The 1.71 version requires a new Perl module List::AllUtils. Which would require rebasing perl-Scalar-List-Utils and a new perl-Test-Warnings package. It's getting complicated. We will see if we can update time zone data only without touch the library and tests. Due to dependencies there will be no rebase of this package. We will try to update the time zone database only without touching the code. Created attachment 1296137 [details] Source repository patch on top of bug #1241818 This dist-git patch on top of 1.64 rebase (bug #1241818) rebases to 1.70 and then adds 2017b tzdata sources and regenerates the Perl code from them. Created attachment 1296212 [details] Source repository patch on top of bug #1241818 This adds a correction for parsing short time zones with signs that exists in Africa/Accra since 2017a time zone data. How to test: (1) Use DateTime Perl object with time and time zone whose rules changed after releasing 2013h Olson database (bundled within the old perl-DateTime-TimeZone-1.63-2.el7 package) and before relasing 2017b Olson database (provided within the new perl-DateTime-TimeZone-1.70-1.el7 package). E.g. this command: $ perl -e 'use DateTime; my $d=DateTime->new(year=>2015,month=>5,day=>1,hour=>0,minute=>0,second=>0,time_zone=>q{UTC}); $d->set_time_zone(q{Asia/Ulaanbaatar}); print $d->strftime(q{%FT%T%z}), qq{\n}' Before: 2015-05-01T08:00:00+0800 After: 2015-05-01T09:00:00+0900 (2) You can compare it with date(1) output that uses database from tzdata package: $ TZ=Asia/Ulaanbaatar date --date '2015-05-01T00:00:00+0000' '+%FT%T%z' 2015-05-01T09:00:00+0900 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/RHBA-2018:0664 This comment was flagged a spam, view the edit history to see the original text if required. This comment was flagged a spam, view the edit history to see the original text if required. The content on this site was all over the place and it didn't even make any sense. i will not post any review about it on https://www.warrington-worldwide.co.uk/2022/01/13/pros-and-cons-of-hiring-assignment-helpers-online/. i was thinking to do it but not now. |