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