projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e612043
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 24 May 2018 09:13:54 +0000
(17:13 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 24 May 2018 09:13:54 +0000
(17:13 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
62ba249
..
8895d37
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-667,7
+667,7
@@
public class Strip : GLib.Object {
}
var newest = new DateTime.now_local();
- newest =
old
est.add_months(-1 * StripApplication.opt_age_newest);
+ newest =
new
est.add_months(-1 * StripApplication.opt_age_newest);
tspan = mailtime.difference(newest) / GLib.TimeSpan.DAY;
if (tspan > 0) {
GLib.debug("skip file is %d days newer than %d months", (int)tspan, StripApplication.opt_age_newest);