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?