Add date tooltip to timestamps

pull/3775/head
Matthew Hodgson 2017-04-29 00:00:29 +01:00
parent 4eb0ca63a9
commit 67efb8bde2
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ module.exports = React.createClass({
render: function() {
var date = new Date(this.props.ts);
return (
<span className="mx_MessageTimestamp">
<span className="mx_MessageTimestamp" title={ DateUtils.formatDate(date) }>
{ DateUtils.formatTime(date) }
</span>
);