projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
65a2e9c
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 7 May 2018 05:38:44 +0000
(13:38 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 7 May 2018 05:38:44 +0000
(13:38 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
ed8fe09
..
3bf25e3
100644
(file)
--- 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");
// 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 = this.created_dir.replace("/", "-");
}
}
@@
-709,6
+709,7
@@
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");
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");
}
}
}
}