Skip Menu |

This queue is for tickets about the Finance-Quote CPAN distribution.

Report information
The Basics
Id: 50311
Status: new
Priority: 0/
Queue: Finance-Quote

Owner: Nobody in particular
Requestors: user42 [...]

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

Subject: isoTime() on "12:00"
Date: Thu, 08 Oct 2009 10:09:03 +1100
To: bug-Finance-Quote [...]
From: Kevin Ryde <user42 [...]>
Download (untitled) / with headers
text/plain 315b
With recent debian i386 perl 5.10.1 the program below prints 11:00 00:00 13:00 where I thought it would be 11:00 12:00 13:00 Is an AM/PM for isoTime() mandatory? I see the regexp has it optional, if that's intentional then I think "12:00" should be interpreted as midday not midnight.
text/x-perl 185b
use strict; use warnings; use Finance::Quote; print Finance::Quote->isoTime ('11:00'),"\n"; print Finance::Quote->isoTime ('12:00'),"\n"; print Finance::Quote->isoTime ('13:00'),"\n";

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to