|
|
|
@ -593,6 +593,7 @@ function Trollbox(props) {
|
|
|
|
|
if (message) {
|
|
|
|
|
sendJsonMessage({
|
|
|
|
|
from: props.address,
|
|
|
|
|
date: new Date(),
|
|
|
|
|
message
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -628,6 +629,12 @@ function Trollbox(props) {
|
|
|
|
|
</a>
|
|
|
|
|
:</span>
|
|
|
|
|
<span className="messageText">{message.message}</span>
|
|
|
|
|
<span className="messageDate">
|
|
|
|
|
{new Date(message.date).getMonth() + 1}/
|
|
|
|
|
{new Date(message.date).getDate()} @
|
|
|
|
|
{new Date(message.date).getUTCHours()}:
|
|
|
|
|
{new Date(message.date).getUTCMinutes()} UTC
|
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
))}
|
|
|
|
|
</ul>
|
|
|
|
|