something
This commit is contained in:
parent
81704c32e6
commit
9b115bf9e0
|
@ -19,7 +19,7 @@ async function updateMessages(id) {
|
||||||
messageParagraph.id = "messageParagraph" + messages[i]["id"]
|
messageParagraph.id = "messageParagraph" + messages[i]["id"]
|
||||||
messageParagraph.appendChild(timeParagraph)
|
messageParagraph.appendChild(timeParagraph)
|
||||||
|
|
||||||
let time = new Intl.DateTimeFormat("en-GB", { hour: "numeric", minute: "numeric" }).format(Number(messages[i]["created"].split(".")[0]) * 1000 + 20275)
|
let time = new Intl.DateTimeFormat("en-GB", { hour: "numeric", minute: "numeric" }).format(Number(messages[i]["created"].split(".")[0]) * 1000 + 20265)
|
||||||
|
|
||||||
messageParagraph.innerHTML = "<span style='color: #515051; font-size: 14px;'>" + time + "</span> " + messageParagraph.innerHTML
|
messageParagraph.innerHTML = "<span style='color: #515051; font-size: 14px;'>" + time + "</span> " + messageParagraph.innerHTML
|
||||||
messageDiv.append(messageParagraph)
|
messageDiv.append(messageParagraph)
|
||||||
|
|
Reference in New Issue