Merge pull request #781 from hmhealey/plt332

PLT-332 Improved date tooltips
Этот коммит содержится в:
Joram Wilander
2015-09-24 12:01:22 -04:00
родитель 819ef528b8 44e00a4f9c
Коммит ff03c53c46
3 изменённых файлов: 3 добавлений и 9 удалений

Просмотреть файл

@@ -153,7 +153,7 @@ export default class PostInfo extends React.Component {
<li className='post-header-col'>
<time
className='post-profile-time'
title={new Date(post.create_at).toString()}
title={`${utils.displayDate(post.create_at)} at ${utils.displayTime(post.create_at)}`}
>
{utils.displayDateTime(post.create_at)}
</time>

Просмотреть файл

@@ -185,10 +185,7 @@ export default class RhsComment extends React.Component {
<strong><UserProfile userId={post.user_id} /></strong>
</li>
<li className='post-header-col'>
<time
className='post-profile-time'
title={new Date(post.create_at).toString()}
>
<time className='post-profile-time'>
{Utils.displayCommentDateTime(post.create_at)}
</time>
</li>

Просмотреть файл

@@ -132,10 +132,7 @@ export default class RhsRootPost extends React.Component {
<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-profile-time'
title={new Date(post.create_at).toString()}
>
<time className='post-profile-time'>
{utils.displayCommentDateTime(post.create_at)}
</time>
</li>