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

index b9c1fee..18f96cd 100644 (file)
@@ -881,12 +881,11 @@ public class Strip : GLib.Object {
                                GLib.debug("Skip directory %s is older than min year: %d/%d", subpath, oldest.get_year() , oldest.get_month() );
                                return;
                        }
-               if (year == oldest.get_year() &&  month == oldest.get_month() && day < oldest.get_day()) {
-                               GLib.debug("Skip directory %s is older than min year: %d/%d/%d", subpath, oldest.get_year() , oldest.get_month(), oldest.get_day() );           
+               if (year == oldest.get_year() &&  month == oldest.get_month() && day < oldest.get_day_of_month()) {
+                               GLib.debug("Skip directory %s is older than min year: %d/%d/%d", subpath, oldest.get_year() , oldest.get_month(), oldest.get_day_of_month() );          
                                return;
                        }
-               
-               
+                
                
         }