added locale dates
This commit is contained in:
parent
5432160001
commit
d3833ca338
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue