added locale dates

master
cheetah 2 years ago
parent 5432160001
commit d3833ca338

@ -237,6 +237,7 @@ Last LoRaWAN Packet:
const keyData = key.split(':')
item.deviceType = keyData[ 0 ], item.deviceID = keyData[ 1 ]
item.lastSeen = new Date(item.lastSeen).toLocaleString('de')
//item.validStateText = this.validStateLUT[item.validState]
return item
})
@ -259,6 +260,7 @@ Last LoRaWAN Packet:
case 3: msg.state = '💬 Responded'; break;
}
}
msg.date = new Date(msg.date).toLocaleString('de')
return msg
})
this.loadingM = false

Loading…
Cancel
Save