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.