[Bug 1377428] New: perl Datetime::Format::Pg doesn' t handle fractions of a second.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
          Reporter: steve.bz@xxxxxxxxxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: iarnell@xxxxxxxxx, jplesnik@xxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx



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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux