summaryrefslogtreecommitdiff
path: root/user/perl-timedate/y2020.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-19 22:38:31 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-19 22:38:31 +0000
commitcbccfe59728846f22ad196a4ba5c58e0a705a6b6 (patch)
treed92134218e1db9e08c96f2bdf2d16e4dd9441a9f /user/perl-timedate/y2020.patch
parent97914b333fb31bb77d33573d19fb64503ec4bf99 (diff)
downloadpackages-cbccfe59728846f22ad196a4ba5c58e0a705a6b6.tar.gz
packages-cbccfe59728846f22ad196a4ba5c58e0a705a6b6.tar.bz2
packages-cbccfe59728846f22ad196a4ba5c58e0a705a6b6.tar.xz
packages-cbccfe59728846f22ad196a4ba5c58e0a705a6b6.zip
user/perl-timedate: Fix Y2020 bug
Diffstat (limited to 'user/perl-timedate/y2020.patch')
-rw-r--r--user/perl-timedate/y2020.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/perl-timedate/y2020.patch b/user/perl-timedate/y2020.patch
new file mode 100644
index 000000000..b9c62d903
--- /dev/null
+++ b/user/perl-timedate/y2020.patch
@@ -0,0 +1,11 @@
+--- TimeDate-2.30/t/getdate.t.old 2009-12-12 12:30:06.000000000 +0000
++++ TimeDate-2.30/t/getdate.t 2020-01-19 22:18:19.279039627 +0000
+@@ -156,7 +156,7 @@
+ !;
+
+ 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);
+