Bug 1377428
Summary: | perl Datetime::Format::Pg doesn't handle fractions of a second. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steve Rogerson <steve.bz> | ||||
Component: | perl-DateTime-Format-Pg | Assignee: | Petr Pisar <ppisar> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 23 | CC: | iarnell, jplesnik, perl-devel, ppisar | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
URL: | https://github.com/lestrrat/DateTime-Format-Pg/issues/12 | ||||||
Whiteboard: | |||||||
Fixed In Version: | perl-DateTime-Format-Pg-0.16012-2.fc26 perl-DateTime-Format-Pg-0.16012-2.fc25 perl-DateTime-Format-Pg-0.16012-2.fc23 perl-DateTime-Format-Pg-0.16012-2.fc24 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-09-27 00:36:44 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: | |||||||
Attachments: |
|
Thank you for the report and handling it with the author. I will apply the fix to all Fedoras. perl-DateTime-Format-Pg-0.16012-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-bce6185ef5 perl-DateTime-Format-Pg-0.16012-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d98b327680 perl-DateTime-Format-Pg-0.16012-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a112fd7e4d perl-DateTime-Format-Pg-0.16012-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-bce6185ef5 perl-DateTime-Format-Pg-0.16012-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-a112fd7e4d perl-DateTime-Format-Pg-0.16012-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d98b327680 perl-DateTime-Format-Pg-0.16012-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. perl-DateTime-Format-Pg-0.16012-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. perl-DateTime-Format-Pg-0.16012-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 1202544 [details] A perl test file Description of problem: DateTime::Format::Pg::format_duration rejects valid date with fractional seconds Version-Release number of selected component (if applicable): 0.16012-1.fc23 How reproducible: Every time Steps to Reproduce: 1. give the routine a date time duration with fractional seconds 2. 3. Actual results: Code dies for example with: "Unknown timespec: 17:00:00.12" Expected results: It gives a valid DateTime::Duration object Additional info: This is also a bug in fc24. I notified the perl maintainer and has a bug fix. The attached perl test passes at .16011 and fails .16012 A work around is to downgrade.