From 4703a9b955dbc5ea800de0c47f6563115748f106 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 24 May 2018 17:09: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 f5f61e6..6cc604f 100644 --- a/src/strip.vala +++ b/src/strip.vala @@ -661,7 +661,7 @@ public class Strip : GLib.Object { oldest = oldest.add_months(-1 * StripApplication.opt_age_oldest); var tspan = mailtime.difference(oldest) / GLib.TimeSpan.DAY; - if (tspan > 0) { + if (tspan < 0) { GLib.debug("skip file is %d days older than %d months", (int)tspan, StripApplication.opt_age_oldest); return; } -- 2.39.2