forked from matrix/element-web
14 lines
292 B
JavaScript
14 lines
292 B
JavaScript
|
var React = require('react');
|
||
|
|
||
|
module.exports = React.createClass({
|
||
|
render: function() {
|
||
|
var date = new Date(this.props.ts);
|
||
|
return (
|
||
|
<span className="mx_MessageTimestamp">
|
||
|
{date.toLocaleTimeString()}
|
||
|
</span>
|
||
|
);
|
||
|
},
|
||
|
});
|
||
|
|