mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
fix the zeroPad calls in the date function
This commit is contained in:
parent
3fcdcc8eec
commit
112b0dc1f0
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ Deluge.Formatters = {
|
|||
var date = new Date(timestamp);
|
||||
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()));
|
||||
zeroPad(date.getHours(), 2), zeroPad(date.getMinutes(), 2), zeroPad(date.getSeconds(), 2));
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue