diff options
author | nickago <ngonella@calpoly.edu> | 2015-08-18 08:31:25 -0700 |
---|---|---|
committer | nickago <ngonella@calpoly.edu> | 2015-08-18 08:31:25 -0700 |
commit | 7ce0bf8f6cc0c77962311f26b3d496a5b502ba2c (patch) | |
tree | bb5c7ed05269d1bfdb8617149380c24d571ce4cb /web/react/utils/utils.jsx | |
parent | 90b492303ddb37cb378b8859ba95701e0198f1ff (diff) | |
download | chat-7ce0bf8f6cc0c77962311f26b3d496a5b502ba2c.tar.gz chat-7ce0bf8f6cc0c77962311f26b3d496a5b502ba2c.tar.bz2 chat-7ce0bf8f6cc0c77962311f26b3d496a5b502ba2c.zip |
Formatted comments' time in RHS similar to root
Diffstat (limited to 'web/react/utils/utils.jsx')
-rw-r--r-- | web/react/utils/utils.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |