From 690559b1c3b833f3fc01927774fa02cdf3ebc2d7 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 24 May 2018 17:13:54 +0800 Subject: [PATCH] src/strip.vala --- src/strip.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strip.vala b/src/strip.vala index 62ba249..8895d37 100644 --- a/src/strip.vala +++ b/src/strip.vala @@ -667,7 +667,7 @@ public class Strip : GLib.Object { } var newest = new DateTime.now_local(); - newest = oldest.add_months(-1 * StripApplication.opt_age_newest); + newest = newest.add_months(-1 * StripApplication.opt_age_newest); tspan = mailtime.difference(newest) / GLib.TimeSpan.DAY; if (tspan > 0) { GLib.debug("skip file is %d days newer than %d months", (int)tspan, StripApplication.opt_age_newest); -- 2.39.2