From 22703bfbcb94da657706bb13d7264ac8117b2574 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sun, 9 Jan 2022 15:02:06 +0000 Subject: [PATCH] Swapped day and month around --- client/pages/panels/popup-chat.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/pages/panels/popup-chat.jsx b/client/pages/panels/popup-chat.jsx index 93cf4c3..ef527c7 100644 --- a/client/pages/panels/popup-chat.jsx +++ b/client/pages/panels/popup-chat.jsx @@ -106,7 +106,7 @@ const processLine = (line, index, accessToken) => { const minutes = `${date.getMinutes()}`.padStart(2, '0'); //combine into the final timestamp - const timestamp = !isValidDate(date) ? '' : isToday(date) ? `${hours}:${minutes}` : `${day}/${month}` ; + const timestamp = !isValidDate(date) ? '' : isToday(date) ? `${hours}:${minutes}` : `${month}/${day}`; //generate the content string let content =
{timestamp.length > 0 ? {timestamp} : null }{line.username ? {line.username}: : ''}{line.text ? {line.text} : ''}
;