From 0c73797131cd7deacda08abc9324462893991368 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 31 Aug 2016 17:44:28 +0200 Subject: [PATCH] Use live timestamps in the versions tab of the sidebar --- apps/files_versions/js/versionstabview.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/files_versions/js/versionstabview.js b/apps/files_versions/js/versionstabview.js index 2424778b4e..2e334edacb 100644 --- a/apps/files_versions/js/versionstabview.js +++ b/apps/files_versions/js/versionstabview.js @@ -15,7 +15,7 @@ '
  • ' + '' + '' + - '{{relativeTimestamp}}' + + '{{relativeTimestamp}}' + '' + '{{#canRevert}}' + '' + @@ -183,6 +183,7 @@ _formatItem: function(version) { var timestamp = version.get('timestamp') * 1000; return _.extend({ + millisecondsTimestamp: timestamp, formattedTimestamp: OC.Util.formatDate(timestamp), relativeTimestamp: OC.Util.relativeModifiedDate(timestamp), downloadUrl: version.getDownloadUrl(),