+
{{ getDateTime(details.timestamp) }}
diff --git a/gui/src/components/chat_messages.vue b/gui/src/components/chat_messages.vue
index bb00ca6e..babcc062 100644
--- a/gui/src/components/chat_messages.vue
+++ b/gui/src/components/chat_messages.vue
@@ -15,22 +15,24 @@ import SentBroadcastMessage from "./chat_messages_broadcast_sent.vue"; // Import
var prevChatMessageDay = "";
function getDateTime(timestampRaw) {
- var datetime = new Date(timestampRaw * 1000).toLocaleString(
- navigator.language,
- {
- hourCycle: "h23",
- year: "numeric",
- month: "2-digit",
- day: "2-digit",
- },
- );
- return datetime;
+ let date = new Date(timestampRaw);
+ let year = date.getFullYear();
+ let month = (date.getMonth() + 1).toString().padStart(2, "0"); // Months are zero-indexed
+ let day = date.getDate().toString().padStart(2, "0");
+ return `${year}-${month}-${day}`;
}
+
+
+
-
-
+
+
+
-
+
{{ (prevChatMessageDay = getDateTime(item.timestamp)) }}
-
-
-
-
- {{ item.snr }} dB ping received
-
-
- {{ item.snr }} dB ping-ack received
-
-
-
+
+
+
+