something

This commit is contained in:
maaa 2023-07-12 20:23:58 +02:00
parent 81704c32e6
commit 9b115bf9e0
1 changed files with 1 additions and 1 deletions

View File

@ -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)