summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authornickago <ngonella@calpoly.edu>2015-08-18 08:31:25 -0700
committernickago <ngonella@calpoly.edu>2015-08-18 08:31:25 -0700
commit7ce0bf8f6cc0c77962311f26b3d496a5b502ba2c (patch)
treebb5c7ed05269d1bfdb8617149380c24d571ce4cb /web/react/components
parent90b492303ddb37cb378b8859ba95701e0198f1ff (diff)
downloadchat-7ce0bf8f6cc0c77962311f26b3d496a5b502ba2c.tar.gz
chat-7ce0bf8f6cc0c77962311f26b3d496a5b502ba2c.tar.bz2
chat-7ce0bf8f6cc0c77962311f26b3d496a5b502ba2c.zip
Formatted comments' time in RHS similar to root
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/post_right.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/post_right.jsx b/web/react/components/post_right.jsx
index 175e1080d..c8c51b0c3 100644
--- a/web/react/components/post_right.jsx
+++ b/web/react/components/post_right.jsx
@@ -120,7 +120,7 @@ RootPost = React.createClass({
<div className='post__content'>
<ul className='post-header'>
<li className='post-header-col'><strong><UserProfile userId={post.user_id} /></strong></li>
- <li className='post-header-col'><time className='post-right-root-time'>{utils.displayDate(post.create_at) + ' ' + utils.displayTime(post.create_at)}</time></li>
+ <li className='post-header-col'><time className='post-right-root-time'>{utils.displayCommentDateTime(post.create_at)}</time></li>
<li className='post-header-col post-header__reply'>
<div className='dropdown'>
{ownerOptions}
@@ -229,7 +229,7 @@ CommentPost = React.createClass({
<div className='post__content'>
<ul className='post-header'>
<li className='post-header-col'><strong><UserProfile userId={post.user_id} /></strong></li>
- <li className='post-header-col'><time className='post-right-comment-time'>{utils.displayDateTime(post.create_at)}</time></li>
+ <li className='post-header-col'><time className='post-right-comment-time'>{utils.displayCommentDateTime(post.create_at)}</time></li>
<li className='post-header-col post-header__reply'>
{ownerOptions}
</li>