From 9fdba4fb47df317a19b7c921a907362436c06d7f Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Tue, 7 Jan 2020 13:16:38 -0600 Subject: [PATCH] Fix getdate.t test This fixes building the module in the year 2020 per the information at http://blogs.perl.org/users/grinnz/2019/07/the-timelocal-trap.html. Signed-off-by: Sol Jerome --- t/getdate.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/getdate.t b/t/getdate.t index 31b577b..82c5850 100644 --- a/t/getdate.t +++ b/t/getdate.t @@ -156,7 +156,7 @@ Jul 22 10:00:00 UTC 2002 ;1027332000 !; 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);