mirror of https://github.com/vector-im/riot-web
use full date formats on timestamps - fixes https://github.com/vector-im/riot-web/issues/3874
parent
0e0918d07c
commit
25a727b8d8
|
@ -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" title={ DateUtils.formatDate(date) }>
|
<span className="mx_MessageTimestamp" title={ DateUtils.formatFullDate(date) }>
|
||||||
{ DateUtils.formatTime(date) }
|
{ DateUtils.formatTime(date) }
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue