summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_info.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-09-21 08:38:27 -0400
committerJoram Wilander <jwawilander@gmail.com>2015-09-21 08:38:27 -0400
commit7255209b726c87692d402dfab0bcdc71e340daf9 (patch)
tree66280bc1db814d110b09b28d69cb68562d7b1d3f /web/react/components/post_info.jsx
parentf399b08db324511031700b044245e66fa7492d85 (diff)
parentcfc919d111f5afebc978dd191b0ec45daf078912 (diff)
downloadchat-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/post_info.jsx')
-rw-r--r--web/react/components/post_info.jsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/react/components/post_info.jsx b/web/react/components/post_info.jsx
index 34ac9e759..d2a0a4035 100644
--- a/web/react/components/post_info.jsx
+++ b/web/react/components/post_info.jsx
@@ -151,7 +151,10 @@ export default class PostInfo extends React.Component {
return (
<ul className='post-header post-info'>
<li className='post-header-col'>
- <time className='post-profile-time'>
+ <time
+ className='post-profile-time'
+ title={new Date(post.create_at).toString()}
+ >
{utils.displayDateTime(post.create_at)}
</time>
</li>