mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-03 15:13:23 +00:00
fix the zeroPad calls in the date function
This commit is contained in:
parent
3fcdcc8eec
commit
112b0dc1f0
@ -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…
x
Reference in New Issue
Block a user