GLib.debug("skip(2) file is %d days older than %d months", (int)rtspan, StripApplication.opt_age_oldest);
return;
}
-
+ var newest = new DateTime.now_local();
+ newest = oldest.add_months(-1 * StripApplication.opt_age_newest);
+ rtspan = mailtime.difference(newest) / GLib.TimeSpan.DAY;
+ if (rtspan > 0) {
+ GLib.debug("skip file is %d days newer than %d months", (int)rtspan, StripApplication.opt_age_oldest);
+ return;
+ }