Skip Menu |

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

Report information
The Basics
Id: 729
Status: resolved
Priority: 0/
Queue: Time-Piece

People
Owner: Nobody in particular
Requestors: cpan [...] husk.org
Cc:
AdminCc:

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



Subject: Test 76/77 fail on Solaris
Time::Piece 1.03 (and the version in CVS) compile but fail to pass tests 76 and 77 of 02core.t, which relate to strptime. This is perl, v5.6.1 built for sun4-solaris SunOS theproject 5.8 Generic_108528-14 sun4u sparc SUNW,Sun-Blade-100 The tests are: ok(Time::Piece->strptime("1945", "%Y")->year == 1945); ok(Time::Piece->strptime("12:00", "%H:%M")->hour == 12); I believe the underlying problem is SunOS's implementation of strptime, but I don't know enough C to test this nicely, or indeed write a patch.
Fixed in 1.05 now on CPAN.
From: cpan [...] husk.org
[MSERGEANT - Fri Jun 14 08:29:46 2002]: Show quoted text
> Fixed in 1.05 now on CPAN.
Indeed, downloaded 1.05, and it compiled, passed tests and installed with no problems. Thanks Matt.
[guest - Fri Jun 14 11:37:44 2002]: Show quoted text
> [MSERGEANT - Fri Jun 14 08:29:46 2002]: >
> > Fixed in 1.05 now on CPAN.
> > Indeed, downloaded 1.05, and it compiled, passed tests and > installed with no problems. Thanks Matt.
Marking resolved.