diff options
author | Will Dietz <w@wdtz.org> | 2020-01-01 21:23:41 -0600 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2020-01-03 18:11:44 +0100 |
commit | 336155cf3f88a80fe4a48d273eeaef43d5322cf6 (patch) | |
tree | 28cc648100a2b582625ee1c02ce54dbd344b97d1 /pkgs/development/perl-modules | |
parent | 68b6fea67c8a460346787345a31bc9187ea0793b (diff) |
perlPackages.TimeDate: fix tests that fail as of 2020
Diffstat (limited to 'pkgs/development/perl-modules')
-rw-r--r-- | pkgs/development/perl-modules/timedate-2020.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/perl-modules/timedate-2020.patch b/pkgs/development/perl-modules/timedate-2020.patch new file mode 100644 index 0000000000000..ea4d8307f03a5 --- /dev/null +++ b/pkgs/development/perl-modules/timedate-2020.patch @@ -0,0 +1,12 @@ +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); |