use full date formats on timestamps - fixes https://github.com/vector-im/riot-web/issues/3874

This commit is contained in:
Matthew Hodgson 2017-05-15 00:26:02 +01:00
parent 0e0918d07c
commit 25a727b8d8

View file

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