Subject: | timelocal should be called with 4-digit year |
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 below patch
--- Calendar-Simple-1.21.orig/lib/Calendar/Simple.pm
+++ Calendar-Simple-1.21/lib/Calendar/Simple.pm
@@ -89 +89 @@ sub calendar {
- $first = (localtime timelocal 0, 0, 0, 1, $mon -1, $year - 1900)[6];
+ $first = (localtime timelocal 0, 0, 0, 1, $mon -1, $year)[6];