From ce4b7ebe07f4d261033582935d0126c33763cc53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Torbj=C3=B6rn=20L=C3=B6nnemark?= <tobbez@ryara.net>
Date: Mon, 19 Apr 2010 00:32:00 +0200
Subject: [PATCH] Add time to the torrents added date in WebUI
---
deluge/ui/web/js/deluge-all/Formatters.js | 3 ++-
1 files changed, 2 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..0811d48 100644
a
|
b
|
Deluge.Formatters = {
|
56 | 56 | } |
57 | 57 | timestamp = timestamp * 1000; |
58 | 58 | var date = new Date(timestamp); |
59 | | return String.format('{0}/{1}/{2}', zeroPad(date.getDate(), 2), zeroPad(date.getMonth() + 1, 2), date.getFullYear()); |
| 59 | return String.format('{0}/{1}/{2} {3}:{4}:{5}', zeroPad(date.getDate(), 2), zeroPad(date.getMonth() + 1, 2), date.getFullYear(), |
| 60 | zeroPad(date.getHours()), zeroPad(date.getMinutes()), zeroPad(date.getSeconds())); |
60 | 61 | }, |
61 | 62 | |
62 | 63 | /** |