fix the zeroPad calls in the date function

This commit is contained in:
Damien Churchill 2010-04-20 08:32:11 +01:00
parent 3fcdcc8eec
commit 112b0dc1f0
1 changed files with 1 additions and 1 deletions

View File

@ -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));
},
/**