From ac2233c921b0ec1b4945ec6358438479c2165f2c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 24 May 2018 17:06:41 +0800 Subject: [PATCH] src/strip.vala src/strip.vala.c --- src/strip.vala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/strip.vala b/src/strip.vala index 18f96cd..f5f61e6 100644 --- a/src/strip.vala +++ b/src/strip.vala @@ -873,6 +873,9 @@ public class Strip : GLib.Object { var oldest = new DateTime.now_local(); oldest = oldest.add_months(-1 * StripApplication.opt_age_oldest); + + GLib.debug("Checking directory %s is older than min: %d/%d/%d", subpath, oldest.get_year() , oldest.get_month(), oldest.get_day_of_month() ); + if (year < oldest.get_year()) { GLib.debug("Skip directory %s is older than min year: %d", subpath, oldest.get_year()); return; -- 2.39.2