From ef52e96d7c36674a7340e1f02dbc2059a60b8982 Mon Sep 17 00:00:00 2001 From: pablorevilla-meshtastic Date: Wed, 28 Oct 2026 07:35:42 -0700 Subject: [PATCH] fix date on neighour repor --- meshview/templates/node.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/meshview/templates/node.html b/meshview/templates/node.html index 7c4ec5d..0ce044d 100644 --- a/meshview/templates/node.html +++ b/meshview/templates/node.html @@ -1189,7 +1189,15 @@ async function loadNeighborTimeSeries() { grid: { bottom: 60 }, tooltip: { trigger: "axis", - axisPointer: { type: "line" } + axisPointer: { type: "line" }, + formatter: params => { + if (!params.length) return ""; + const timestamp = Number(params[0].axisValue); + const heading = new Date(timestamp / 1000).toLocaleString(); + return escapeHtml(heading) + "
" + params.map(point => + `${point.marker}${escapeHtml(point.seriesName)}: ${escapeHtml(point.value ?? "N/A")}` + ).join("
"); + } }, legend: { type: "scroll",