This queue is for tickets about the Archive-Tar CPAN distribution.

Report information
The Basics
Id:
124543
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
bitcardbmw [...] lsmod.de
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
2.24
Fixed in:
(no value)



Subject: timelocal should be called with 4-digit year
man Time::Local says Whenever possible, use an absolute four digit year instead. With a detailed explanation about ambiguity of 2-digit years above that. perl-5.26.1/cpan/Archive-Tar/lib/Archive/Tar/Constant.pm has use constant TIME_OFFSET => ($^O eq "MacOS") ? Time::Local::timelocal(0,0,0,1,0,70) : 0; in 2020, a year of 70 will be misinterpreted as 2070. To avoid this, use 1970 instead of 70 there. Also it should maybe use timegm?


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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