var timez = GMime.utils_header_decode_date(dbits[1], null);
if (timez != 0) {
mailtime = new DateTime.from_unix_utc(timez);
- this.created_date = dts.format("%Y-%m-%d %H:%M:%S");
+ this.created_date = mailtime.format("%Y-%m-%d %H:%M:%S");
// if it's not mailfort we can use that date to determine where to store it...
if (!StripApplication.opt_scan_mailfort) {
this.created_dir = mailtime.format("/%Y/%m/%d");