diff --git a/libresapi/src/webfiles/gui.jsx b/libresapi/src/webfiles/gui.jsx index 76cd80a60..b7445316b 100644 --- a/libresapi/src/webfiles/gui.jsx +++ b/libresapi/src/webfiles/gui.jsx @@ -1467,7 +1467,7 @@ var ChatWidget = React.createClass({ { this.state.data.map(function(msg){ - return
{msg.send_time} {msg.author_name}: {markup(msg.msg, msg.links)}
; + return
{new Date(msg.send_time*1000).toLocaleTimeString()} {msg.author_name}: {markup(msg.msg, msg.links)}
; }) } { this.state.data.map(function(msg){ - return
{msg.send_time} {msg.author_name}: {markup(msg.msg, msg.links)}
; + return
{new Date(msg.send_time*1000).toLocaleTimeString()} {msg.author_name}: {markup(msg.msg, msg.links)}
; }) }