Open
Description
Module: Time::Local
Description
Older perl versions - e.g. 5.26.2 - no longer pass tests due to the 50-year bug in Time::Local, which was fixed in 1.26:
https://metacpan.org/changes/distribution/Time-Local#L22
cpan/Time-Local/t/Local ........................................ # Failed test 'timelocal year for 1970 1 2 0 0 0'
# at t/Local.t line 109.
# got: '170'
# expected: '70'
# Failed test 'timegm year for 1970 1 2 0 0 0'
# at t/Local.t line 124.
# got: '170'
# expected: '70'
# Looks like you failed 2 tests of 187.
FAILED at test 6
Steps to Reproduce
Install any version of Perl with bundled Time::Local < 1.26. According to corelist -a
, it affects everything before the 5.30 series:
v5.28.2 1.25
v5.29.0 1.25
v5.29.1 1.28
Expected behavior
Passing tests.
Perl configuration
Works better when the Perl build completes 😄