add seconds to date time

This commit is contained in:
liamcottle
2024-11-07 23:14:26 +13:00
parent e76abd8d9f
commit bbf9a50353

View File

@ -352,7 +352,7 @@
.replaceAll('\n', '<br/>'); .replaceAll('\n', '<br/>');
}, },
formatMessageTimestamp(createdAt) { formatMessageTimestamp(createdAt) {
return moment(new Date(createdAt)).local().format("DD/MMM/YYYY hh:mm A"); return moment(new Date(createdAt)).local().format("DD/MMM/YYYY hh:mm:ss A");
}, },
}, },
computed: { computed: {