aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-08-31 17:33:00 +0200
committerJoas Schilling <coding@schilljs.com>2016-09-01 09:02:36 +0200
commitee1c1b39b29fbad948068f93b2a0eeb537ef456c (patch)
treecb7f04dd8aff876f9cc887d8299627fc2286322b /apps/files/js
parent4a5cd74fb29b19c975f893e0289b1b34bf5e8a62 (diff)
downloadnextcloud-server-ee1c1b39b29fbad948068f93b2a0eeb537ef456c.tar.gz
nextcloud-server-ee1c1b39b29fbad948068f93b2a0eeb537ef456c.zip
Update live timestamps to give a more live feeling
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/filelist.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index ca41012764a..7584362317c 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1202,8 +1202,9 @@
}
td = $('<td></td>').attr({ "class": "date" });
td.append($('<span></span>').attr({
- "class": "modified",
+ "class": "modified live-relative-timestamp",
"title": formatted,
+ "data-timestamp": mtime,
"style": 'color:rgb('+modifiedColor+','+modifiedColor+','+modifiedColor+')'
}).text(text)
.tooltip({placement: 'top'})