added locale dates

This commit is contained in:
cheetah 2022-11-29 00:32:44 +01:00
parent 5432160001
commit d3833ca338

View file

@ -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