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
        QA Contact:

Created attachment 1202544
A perl test file

Description of problem:
DateTime::Format::Pg::format_duration rejects valid date with fractional

Version-Release number of selected component (if applicable):


How reproducible:

Every time

Steps to Reproduce:
1. give the routine a date time duration with fractional seconds

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 --
To unsubscribe send an email to

Reply via email to