Apply patch supplied in #1235 to add the time to fdate
This commit is contained in:
parent
fb4bfe7656
commit
283cff7852
|
@ -56,7 +56,9 @@ Deluge.Formatters = {
|
||||||
}
|
}
|
||||||
timestamp = timestamp * 1000;
|
timestamp = timestamp * 1000;
|
||||||
var date = new Date(timestamp);
|
var date = new Date(timestamp);
|
||||||
return String.format('{0}/{1}/{2}', zeroPad(date.getDate(), 2), zeroPad(date.getMonth() + 1, 2), date.getFullYear());
|
return String.format('{0}/{1}/{2} {3}:{4}:{5}',
|
||||||
|
zeroPad(date.getDate(), 2), zeroPad(date.getMonth() + 1, 2), date.getFullYear(),
|
||||||
|
zeroPad(date.getHours()), zeroPad(date.getMinutes()), zeroPad(date.getSeconds()));
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue