created_at might not exist yet so use timestamp instead

This commit is contained in:
liamcottle 2024-09-18 20:29:51 +12:00
commit 7201e08116

View file

@ -1177,7 +1177,7 @@ export default {
},
showSentMessageInfo: function(lxmfMessage) {
DialogUtils.alert([
`Created: ${Utils.convertDateTimeToLocalDateTimeString(new Date(lxmfMessage.created_at))}`,
`Created: ${Utils.convertUnixMillisToLocalDateTimeString(lxmfMessage.timestamp * 1000)}`,
`Method: ${lxmfMessage.method ?? "unknown"}`,
].join("\n"));
},