diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-09-21 08:38:27 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-09-21 08:38:27 -0400 |
commit | 7255209b726c87692d402dfab0bcdc71e340daf9 (patch) | |
tree | 66280bc1db814d110b09b28d69cb68562d7b1d3f /web/react/components/rhs_root_post.jsx | |
parent | f399b08db324511031700b044245e66fa7492d85 (diff) | |
parent | cfc919d111f5afebc978dd191b0ec45daf078912 (diff) | |
download | chat-7255209b726c87692d402dfab0bcdc71e340daf9.tar.gz chat-7255209b726c87692d402dfab0bcdc71e340daf9.tar.bz2 chat-7255209b726c87692d402dfab0bcdc71e340daf9.zip |
Merge pull request #722 from hmhealey/timestamp
Added a tooltip to post timestamps displaying the actual time the post was created
Diffstat (limited to 'web/react/components/rhs_root_post.jsx')
-rw-r--r-- | web/react/components/rhs_root_post.jsx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/web/react/components/rhs_root_post.jsx b/web/react/components/rhs_root_post.jsx index 85755a85c..4ed97d00a 100644 --- a/web/react/components/rhs_root_post.jsx +++ b/web/react/components/rhs_root_post.jsx @@ -132,7 +132,14 @@ export default class RhsRootPost extends React.Component { <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.displayCommentDateTime(post.create_at)}</time></li> + <li className='post-header-col'> + <time + className='post-profile-time' + title={new Date(post.create_at).toString()} + > + {utils.displayCommentDateTime(post.create_at)} + </time> + </li> <li className='post-header-col post-header__reply'> <div className='dropdown'> {ownerOptions} |