Use formatted date instead of relative time on node list

This commit is contained in:
Garth Vander Houwen 2023-10-08 13:25:34 -07:00
parent 925f531c11
commit 440fa683e3

View file

@ -54,7 +54,7 @@ struct NodeListItem: View {
.font(.footnote)
.symbolRenderingMode(.hierarchical)
.foregroundColor(node.isOnline ? .green : .orange)
LastHeardText(lastHeard: node.lastHeard)
Text(node.lastHeard?.formatted() ?? "unknown".localized)
.font(.caption)
}
if node.positions?.count ?? 0 > 0 && connectedNode != node.num {