From 7ce0bf8f6cc0c77962311f26b3d496a5b502ba2c Mon Sep 17 00:00:00 2001 From: nickago Date: Tue, 18 Aug 2015 08:31:25 -0700 Subject: Formatted comments' time in RHS similar to root --- web/react/utils/utils.jsx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web/react/utils/utils.jsx') diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx index 32793809d..3f7d204e4 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -192,6 +192,10 @@ module.exports.displayDateTime = function(ticks) { } +module.exports.displayCommentDateTime = function(ticks) { + return module.exports.displayDate(ticks) + ' ' + module.exports.displayTime(ticks); +} + // returns Unix timestamp in milliseconds module.exports.getTimestamp = function() { return Date.now(); -- cgit v1.2.3-1-g7c22