src/strip.vala
authorAlan Knowles <alan@roojs.com>
Wed, 9 May 2018 09:02:31 +0000 (17:02 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 9 May 2018 09:02:31 +0000 (17:02 +0800)
src/strip.vala

index 63ce4bd..e22ead1 100644 (file)
@@ -663,7 +663,7 @@ public class Strip : GLib.Object {
                if (StripApplication.opt_scan_mailfort) {
                    this.created_dir = this.active_path.substring(this.base_dir.length + 1 );
                        this.created_date = this.created_dir.replace("/", "-");
-                       var bits = this.created_date.split("/");
+                       var bits = this.created_date.split("-");
                        mailtime = new DateTime.local(int.parse(bits[0]),int.parse(bits[1]),int.parse(bits[2]),0,0,0);
        } else {
                // it's a mail directory...