projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a53f144
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 9 May 2018 09:09:41 +0000
(17:09 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 9 May 2018 09:09:41 +0000
(17:09 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
a5332df
..
ed6af9f
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-738,11
+738,11
@@
public class Strip : GLib.Object {
}
var oldest = new DateTime.now_local();
}
var oldest = new DateTime.now_local();
- oldest.add_months(-1 * StripApplication.opt_min_age);
+ oldest
= oldest
.add_months(-1 * StripApplication.opt_min_age);
var rtspan = mailtime.difference(oldest) / GLib.TimeSpan.DAY;
if (rtspan < 0) {
var rtspan = mailtime.difference(oldest) / GLib.TimeSpan.DAY;
if (rtspan < 0) {
- GLib.debug("skip file is %d days older than %d months", (int)rtspan, StripApplication.opt_min_age);
+ GLib.debug("skip
(2)
file is %d days older than %d months", (int)rtspan, StripApplication.opt_min_age);
return;
}
return;
}