src/strip.vala
authorAlan Knowles <alan@roojs.com>
Thu, 24 May 2018 09:06:41 +0000 (17:06 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 24 May 2018 09:06:41 +0000 (17:06 +0800)
src/strip.vala.c

src/strip.vala

index 18f96cd..f5f61e6 100644 (file)
@@ -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;