Module: deluge Branch: master Commit: 283cff7852bbe3c7e653a6d110423880498eab5a
Author: Damien Churchill <[email protected]> Date: Mon Apr 19 22:27:12 2010 +0100 Apply patch supplied in #1235 to add the time to fdate --- deluge/ui/web/js/deluge-all/Formatters.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/deluge/ui/web/js/deluge-all/Formatters.js b/deluge/ui/web/js/deluge-all/Formatters.js index 04a67a4..191b34f 100644 --- a/deluge/ui/web/js/deluge-all/Formatters.js +++ b/deluge/ui/web/js/deluge-all/Formatters.js @@ -56,7 +56,9 @@ Deluge.Formatters = { } timestamp = timestamp * 1000; 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())); }, /** -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
