parse_duration not handling fractions of a second. #12
Closed
Description
V 0.16012, OS Fedora 23 perl 5.22.1
As it says. DateTime::Format::Pg->parse_duration('1095 days 13:37:28.369224') results in
Unknown timespec: 1095 days 13:37:28.369224. Under the debugger it looks like it's the .369224 bit that it is complaining about. ( It might have been clearer if I could have seen that more directly in the error message).
It looks like the code around lines 593-596 is not taking fractional seconds into account.
Metadata
Assignees
Labels
No labels