Hello,
I noticed today, that attachment filename template parameter $m (month) gives
values 0-11 instead of human understandable 1-12 ;) [man localtime]
The fix is very simple ;)
--- Sanitizer.pm.orig Fri Feb 15 18:53:20 2002
+++ Sanitizer.pm Mon Feb 18 13:37:40 2002
@@ -957,7 +957,7 @@
$$fn =~ s/\$M/ sprintf("%2.2d", $M) /eg;
$$fn =~ s/\$H/ sprintf("%2.2d", $H) /eg;
$$fn =~ s/\$d/ sprintf("%2.2d", $d) /eg;
- $$fn =~ s/\$m/ sprintf("%2.2d", $m) /eg;
+ $$fn =~ s/\$m/ sprintf("%2.2d", $m+1) /eg;
$$fn =~ s/\$y/ sprintf("%2.2d", $y % 100) /eg;
$$fn =~ s/\$Y/ sprintf("%d", $y + 1900) /eg;
$$fn =~ s/\$w/ sprintf("%d", $wd) /eg;
Paulius