Skip Menu |

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

Report information
The Basics
Id: 124543
Status: new
Priority: 0/
Queue: Archive-Tar

Owner: Nobody in particular
Requestors: bitcardbmw [...]

Bug Information
Severity: Normal
Broken in: 2.24
Fixed in: (no value)

Subject: timelocal should be called with 4-digit year
Download (untitled) / with headers
text/plain 443b
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/ 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 is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to