Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
#765 Datetime title for InboxItem
Browse files Browse the repository at this point in the history
  • Loading branch information
damianprzygodzki committed May 22, 2017
1 parent 1f17b85 commit f838f3b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/inbox/InboxItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,14 @@ class InboxItem extends Component {
{item.message}
</div>
<div className="inbox-item-footer">
<span>{Moment(item.timestamp).fromNow()}</span>
<span
title={
Moment(item.timestamp)
.format('DD.MM.YYYY HH:mm:ss')
}
>
{Moment(item.timestamp).fromNow()}
</span>
<span>Notification</span>
</div>
</div>
Expand Down

0 comments on commit f838f3b

Please sign in to comment.