Skip Menu |

This queue is for tickets about the Acme-Honkidasu CPAN distribution.

Report information
The Basics
Id: 122106
Status: resolved
Priority: 0/
Queue: Acme-Honkidasu

People
Owner: hayajo [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc: ESAYM [...] cpan.org
AdminCc:

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



CC: ESAYM [...] cpan.org
Subject: Tests break with Time::Piece 1.31_03
If the latest development version of Time::Piece is installed (ESAYM/Time-Piece-1.31_03.tar.gz) then the test suite fails. (I can attach the test log if required, but the failure can be easily replicated)
Subject: Re: [rt.cpan.org #122106] Tests break with Time::Piece 1.31_03
Date: Thu, 15 Jun 2017 16:01:12 -0500
To: bug-Acme-Honkidasu [...] rt.cpan.org
From: Samuel Smith <leon36 [...] gmail.com>
On 06/15/2017 02:24 PM, Slaven_Rezic via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=122106 > > > If the latest development version of Time::Piece is installed (ESAYM/Time-Piece-1.31_03.tar.gz) then the test suite fails. (I can attach the test log if required, but the failure can be easily replicated) >
Sweet, thanks for the heads up. Changing the test suite's line: Time::Piece->strptime(sprintf('%02d', $i), '%m') to: Time::Piece->strptime(sprintf('%02d %02d', $i, $i), '%m %d') fixes the issue. I changed strptime quite a bit over a few months. Can't remember all the details but I remember wanting to set some sane defaults for the internal time structure. Since in the above case only a month is being passed in, the day is defaulting to 0, which is not right. I'll look into it. Regards,
This issue fixed on Time::Piece 1.31_04. https://metacpan.org/release/ESAYM/Time-Piece-1.31_04 Thanks.