diff --git a/templates/chat/chat.html b/templates/chat/chat.html index 9ed5a70..31d8f96 100644 --- a/templates/chat/chat.html +++ b/templates/chat/chat.html @@ -36,6 +36,8 @@ function loadMessage(content, user, time, messid, image, isNew) { // if (isNew) content = encodeHTML(content) + time = new Date(time); + time = moment(time).format("HH:mm DD-MM-YYYY"); content = encodeHTML(content); li = `