mirror of
https://github.com/Roslund/meshtastic-map.git
synced 2026-10-31 02:52:01 +01:00
show last updated at
This commit is contained in:
1 parent
9294525929
commit
bb6a907709
1 file changed
+3
@@ -530,6 +530,9 @@
|
||||
tooltip += `<br/>Air Util: ${Number(node.air_util_tx).toFixed(2)}%`;
|
||||
}
|
||||
|
||||
// updated ago
|
||||
tooltip += `<br/><br/>Updated: ${moment(new Date(node.updated_at)).fromNow()}`;
|
||||
|
||||
// create node marker
|
||||
var marker = L.marker([node.latitude, node.longitude], {
|
||||
icon: icon,
|
||||
|
||||
Reference in new issue
Block a user