From 80e8d3db35e22f4e0c3adff79b426e472c203df0 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 31 Aug 2016 17:46:50 +0200 Subject: [PATCH] Use live timestamp on comments tab --- apps/comments/js/commentstabview.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js index eae18c1d485..82244d61e9a 100644 --- a/apps/comments/js/commentstabview.js +++ b/apps/comments/js/commentstabview.js @@ -51,7 +51,7 @@ '{{#if isUserAuthor}}' + ' ' + '{{/if}}' + - '
{{date}}
' + + '
{{date}}
' + ' ' + '
{{{formattedMessage}}}
' + '{{#if isLong}}' + @@ -179,6 +179,7 @@ _formatItem: function(commentModel) { var timestamp = new Date(commentModel.get('creationDateTime')).getTime(); var data = _.extend({ + timestamp: timestamp, date: OC.Util.relativeModifiedDate(timestamp), altDate: OC.Util.formatDate(timestamp), formattedMessage: this._formatMessage(commentModel.get('message')) -- 2.39.5