// 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("/", "-");
}
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");
}
}