mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-22 20:51:23 +00:00
make times for messages show right format
This commit is contained in:
parent
9433deab83
commit
b412fba746
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ const MessageBrowser = React.createClass({
|
|||
const messages = this.state.messages.map(message => {
|
||||
return (
|
||||
<tr key={message._id}>
|
||||
<td className="col-xs-2">{(new Date(message.createdAt)).toString()}</td>
|
||||
<td className="col-xs-2">{(new Date(message.createdAt)).toLocaleString()}</td>
|
||||
<td className="col-xs-3">{message.author.username}</td>
|
||||
<td className="col-xs-5">{message.content}</td>
|
||||
<td className="col-xs-2">{message._id}</td>
|
||||
|
|
Loading…
Reference in a new issue