Skip to content

Commit 904f40c

Browse files
committed
Whenever possible, use an absolute four digit year for Time::Local
Apply patch from https://rt.cpan.org/Public/Bug/Display.html?id=124526
1 parent b531ae0 commit 904f40c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/message-old.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require HTTP::Request;
1313
require HTTP::Response;
1414

1515
require Time::Local if $^O eq "MacOS";
16-
my $offset = ($^O eq "MacOS") ? Time::Local::timegm(0,0,0,1,0,70) : 0;
16+
my $offset = ($^O eq "MacOS") ? Time::Local::timegm(0,0,0,1,0,1970) : 0;
1717

1818
my $req = HTTP::Request->new(GET => "http://www.sn.no/");
1919
$req->header(

0 commit comments

Comments
 (0)