projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6fd5d3
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 7 May 2018 02:58:58 +0000
(10:58 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 7 May 2018 02:58:58 +0000
(10:58 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
f69203f
..
18d1682
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-680,7
+680,14
@@
public class Strip : GLib.Object {
var bits = lines[i].strip().split(" ");
if (bits[0] == "id") {
this.active_message_exim_id = bits[1].replace(";","");
+ var dbits = lines[i].strip().split(";");
+ int tz;
+ var dts = GMime.utils_header_decode_date(dbits[1], out tz);
+ if (dts != null) {
+ this.created_date = dts.format("%Y-%m-%d %H:%M:%s");
+ }
}
+
}
}
/*