Skip Menu |

This queue is for tickets about the TimeDate CPAN distribution.

Report information
The Basics
Id: 124509
Status: new
Priority: 0/
Queue: TimeDate

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

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

Subject: tests fails in 2020
Download (untitled) / with headers
text/plain 557b
similar to after 2020-01-01 $offset was shifting dates from 2002 to 2102 This trivial patch fixed it for me: Index: TimeDate-2.30/t/getdate.t =================================================================== --- TimeDate-2.30.orig/t/getdate.t +++ TimeDate-2.30/t/getdate.t @@ -156,7 +156,7 @@ Jul 22 10:00:00 UTC 2002 ;102733200 !; require Time::Local; -my $offset = Time::Local::timegm(0,0,0,1,0,70); +my $offset = Time::Local::timegm(0,0,0,1,0,1970); @data = split(/\n/, $data);

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to