projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0836c22
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 24 May 2018 09:35:43 +0000
(17:35 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 24 May 2018 09:35:43 +0000
(17:35 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
841e439
..
da97976
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-760,8
+760,8
@@
public class Strip : GLib.Object {
var oldest = new DateTime.now_local();
oldest = oldest.add_months(-1 * StripApplication.opt_age_oldest);
var oldest = new DateTime.now_local();
oldest = oldest.add_months(-1 * StripApplication.opt_age_oldest);
- var rtspan =
oldest
.difference(oldest) / GLib.TimeSpan.DAY;
- GLib.debug("Checking oldest %s days difference", rtspan.to_string() );
+ var rtspan =
mailtime
.difference(oldest) / GLib.TimeSpan.DAY;
+ GLib.debug("Checking oldest %s
to %s %s
days difference", rtspan.to_string() );
if (rtspan < 0) {
GLib.debug("skip(2) file is %d days older than %d months", (int)rtspan, StripApplication.opt_age_oldest);
return;
if (rtspan < 0) {
GLib.debug("skip(2) file is %d days older than %d months", (int)rtspan, StripApplication.opt_age_oldest);
return;