Skip Menu |

This queue is for tickets about the Time-Duration-Parse CPAN distribution.

Report information
The Basics
Id: 32305
Status: resolved
Priority: 0/
Queue: Time-Duration-Parse

People
Owner: Nobody in particular
Requestors: trs [...] bestpractical.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: decimals
Date: Mon, 14 Jan 2008 14:12:33 -0500
To: bug-Time-Duration-Parse [...] rt.cpan.org
From: Thomas Sibley <trs [...] bestpractical.com>
It's me again. This time I have a patch for accepting decimal values. For example: 1.5h instead of 1h30m The return value of parse_duration is rounded to the closest whole second. Cheers, Tom
Download decimal.patch.gz
application/x-gzip 649b

Message body not shown because it is not plain text.

This patch never got applied. Is there a reason why? I'm including a slightly updated patch that only adds a few more tests of the decimal functionality. Thomas
Download decimal.patch.gz
application/x-gzip 667b

Message body not shown because it is not plain text.

From: tsibley [...] cpan.org
Another slightly updated patch. This one makes sure that plain decimals are still treated as seconds (like plain integers are).
Download decimal.patch.gz
application/x-gzip 853b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #32305] decimals
Date: Fri, 30 May 2008 16:08:31 -0700
To: bug-Time-Duration-Parse [...] rt.cpan.org
From: "Tatsuhiko Miyagawa" <miyagawa [...] gmail.com>
Applied, thanks On Thu, May 29, 2008 at 8:32 PM, Thomas Sibley via RT <bug-Time-Duration-Parse@rt.cpan.org> wrote: Show quoted text
> > Queue: Time-Duration-Parse > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=32305 > > > Another slightly updated patch. This one makes sure that plain decimals > are still treated as seconds (like plain integers are). >
-- Tatsuhiko Miyagawa