src/strip.vala
authorAlan Knowles <alan@roojs.com>
Mon, 7 May 2018 05:39:54 +0000 (13:39 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 7 May 2018 05:39:54 +0000 (13:39 +0800)
src/strip.vala

index f3316b3..50241c3 100644 (file)
@@ -709,7 +709,9 @@ public class Strip : GLib.Object {
                                        if (timez != 0) {
                                                var dts = new DateTime.from_unix_utc(timez);
                                                this.created_date = dts.format("%Y-%m-%d %H:%M:%S");
-                                               this.created_dir = dts.format("/%Y/%m/%d");
+                                               if (!StripApplication.opt_scan_mailfort) {
+                                                       this.created_dir = dts.format("/%Y/%m/%d");
+                                               }
                                        }
                                }