You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 attached patch (not tested)
Index: File-Listing-6.04/lib/File/Listing.pm
===================================================================
--- File-Listing-6.04.orig/lib/File/Listing.pm
+++ File-Listing-6.04/lib/File/Listing.pm
@@ -332 +332 @@ sub line {
- my $filetime = Time::Local::timelocal(0,$M,$H,$d,$m-1,_guess_year($y)-1900);
+ my $filetime = Time::Local::timelocal(0,$M,$H,$d,$m-1,_guess_year($y));
The text was updated successfully, but these errors were encountered:
So playing around with apache in a docker container (see #14) seems as though apache always provides a four digit year so I am not sure why we are even ding _guess_year. There is also a new and old format and I think probably only will recognize one of those.
https://rt.cpan.org/Ticket/Display.html?id=124528
The text was updated successfully, but these errors were encountered: