Skip Menu |
 

This queue is for tickets about the TimeDate CPAN distribution.

Report information
The Basics
Id: 75433
Status: open
Priority: 0/
Queue: TimeDate

People
Owner: Nobody in particular
Requestors: ej.lfs [...] xs4all.nl
Cc:
AdminCc:

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



Subject: Small make test bug on leap day in TimeDate-1.20
Date: Wed, 29 Feb 2012 20:54:17 +0100
To: bug-TimeDate [...] rt.cpan.org
From: Erik-Jan <ej.lfs [...] xs4all.nl>
Download (untitled) / with headers
text/plain 349b
Hi, I tried running make test today (29 feb 2012) and it failed test 61 in t/date.t Test 61 tries to make sense of this date: 1999 10:02:18 "GMT" Because today is a leap day, it tries to create a date of 29-02-1999 and that date doesn't exist, resulting in a make test failure. Changing the year to 1996 makes test 61 pass as well. Bye Erik-Jan
Download (untitled) / with headers
text/plain 540b
On Wed Feb 29 14:54:28 2012, ej.lfs@xs4all.nl wrote: Show quoted text
> Hi, > > I tried running make test today (29 feb 2012) and it failed test 61 in > t/date.t > Test 61 tries to make sense of this date: > 1999 10:02:18 "GMT" > Because today is a leap day, it tries to create a date of 29-02-1999 and > that date doesn't exist, resulting in a make test failure. > Changing the year to 1996 makes test 61 pass as well.
Not that anyone else is going to see this problem for another 4 years ... but I've just confirmed the problem, as I ran into myself.
Download (untitled) / with headers
text/plain 487b
On 2012-02-29 14:54:28, ej.lfs@xs4all.nl wrote: Show quoted text
> Hi, > > I tried running make test today (29 feb 2012) and it failed test 61 in > t/date.t > Test 61 tries to make sense of this date: > 1999 10:02:18 "GMT" > Because today is a leap day, it tries to create a date of 29-02-1999 and > that date doesn't exist, resulting in a make test failure. > Changing the year to 1996 makes test 61 pass as well.
See https://rt.cpan.org/Ticket/Display.html?id=112559 which contains a formal patch.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.