Subject: | dates misinterpreted after 2020 |
Similar to
https://rt.cpan.org/Public/Bug/Display.html?id=124514
https://rt.cpan.org/Public/Bug/Display.html?id=124526
man Time::Local says
Whenever possible, use an absolute four digit year instead.
With a detailed explanation about ambiguity of 2-digit years above that.
Please review/test/merge the patch below (not tested)
===================================================================
--- HTTP-Cookies-6.04.orig/lib/HTTP/Cookies.pm
+++ HTTP-Cookies-6.04/lib/HTTP/Cookies.pm
@@ -17 +17 @@ if ($^O eq "MacOS") {
- $EPOCH_OFFSET = Time::Local::timelocal(0,0,0,1,0,70);
+ $EPOCH_OFFSET = Time::Local::timegm(0,0,0,1,0,1970);