forked from matrix/element-web
Add date tooltip to timestamps
This commit is contained in:
parent
4eb0ca63a9
commit
67efb8bde2
|
@ -25,7 +25,7 @@ module.exports = React.createClass({
|
||||||
render: function() {
|
render: function() {
|
||||||
var date = new Date(this.props.ts);
|
var date = new Date(this.props.ts);
|
||||||
return (
|
return (
|
||||||
<span className="mx_MessageTimestamp">
|
<span className="mx_MessageTimestamp" title={ DateUtils.formatDate(date) }>
|
||||||
{ DateUtils.formatTime(date) }
|
{ DateUtils.formatTime(date) }
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue