mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-16 07:19:00 +00:00
Apply patch supplied in #1235 to add the time to fdate
This commit is contained in:
parent
fb4bfe7656
commit
283cff7852
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue