projects
/
app.mailtrimmer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/strip.vala
[app.mailtrimmer]
/
src
/
strip.vala
diff --git
a/src/strip.vala
b/src/strip.vala
index
66e55fe
..
7f6efb8
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-668,7
+668,10
@@
public class Strip : GLib.Object {
var newest = new DateTime.now_local();
newest = oldest.add_months(-1 * StripApplication.opt_age_newest);
-
+ if (tspan > 0) {
+ GLib.debug("skip file is %d days newer than %d months", (int)tspan, StripApplication.opt_age_oldest);
+ return;
+ }
}