From: Alan Knowles Date: Mon, 7 May 2018 05:39:09 +0000 (+0800) Subject: src/strip.vala X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=463e91e5e20d2bd4d2c65282b398141c3fb0460e;p=app.mailtrimmer src/strip.vala --- diff --git a/src/strip.vala b/src/strip.vala index 3bf25e3..f3316b3 100644 --- a/src/strip.vala +++ b/src/strip.vala @@ -667,7 +667,7 @@ public class Strip : GLib.Object { // use the last modification time? as the default... var dts = new DateTime.from_timeval_utc(mod_time); this.created_dir = dts.format("/%Y/%m/%d"); - this.created_date = this.created_dir.replace("/", "-"); + this.created_date = dts.format("%Y-%m-%d %H:%M:%S"); }