https://bugzilla.redhat.com/show_bug.cgi?id=1377428
Bug ID: 1377428 Summary: perl Datetime::Format::Pg doesn't handle fractions of a second. Product: Fedora Version: 23 Component: perl-DateTime-Format-Pg Severity: medium Assignee: jplesnik@redhat.com Reporter: steve.bz@yewtc.demon.co.uk QA Contact: extras-qa@fedoraproject.org CC: iarnell@gmail.com, jplesnik@redhat.com, perl-devel@lists.fedoraproject.org
Created attachment 1202544 --> https://bugzilla.redhat.com/attachment.cgi?id=1202544&action=edit 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1377428
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |ppisar@redhat.com Assignee|jplesnik@redhat.com |ppisar@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1377428
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/lestrrat | |/DateTime-Format-Pg/issues/ | |12
https://bugzilla.redhat.com/show_bug.cgi?id=1377428
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED Fixed In Version| |perl-DateTime-Format-Pg-0.1 | |6012-2.fc26
--- Comment #1 from Petr Pisar ppisar@redhat.com --- Thank you for the report and handling it with the author. I will apply the fix to all Fedoras.
https://bugzilla.redhat.com/show_bug.cgi?id=1377428
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1377428
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1377428
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1377428
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1377428
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1377428
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1377428
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version|perl-DateTime-Format-Pg-0.1 |perl-DateTime-Format-Pg-0.1 |6012-2.fc26 |6012-2.fc26 | |perl-DateTime-Format-Pg-0.1 | |6012-2.fc25 Resolution|--- |ERRATA Last Closed| |2016-09-26 20:36:44
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1377428
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|perl-DateTime-Format-Pg-0.1 |perl-DateTime-Format-Pg-0.1 |6012-2.fc26 |6012-2.fc26 |perl-DateTime-Format-Pg-0.1 |perl-DateTime-Format-Pg-0.1 |6012-2.fc25 |6012-2.fc25 | |perl-DateTime-Format-Pg-0.1 | |6012-2.fc23
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1377428
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|perl-DateTime-Format-Pg-0.1 |perl-DateTime-Format-Pg-0.1 |6012-2.fc26 |6012-2.fc26 |perl-DateTime-Format-Pg-0.1 |perl-DateTime-Format-Pg-0.1 |6012-2.fc25 |6012-2.fc25 |perl-DateTime-Format-Pg-0.1 |perl-DateTime-Format-Pg-0.1 |6012-2.fc23 |6012-2.fc23 | |perl-DateTime-Format-Pg-0.1 | |6012-2.fc24
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- 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.
perl-devel@lists.fedoraproject.org