From 612d9bf2cc6e868c509c87257e679563bd72c7c3 Mon Sep 17 00:00:00 2001 From: Talon Date: Sat, 24 Aug 2024 18:25:22 +0200 Subject: [PATCH] Fix missing relative to friendly --- frontend/src/views/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/main.ts b/frontend/src/views/main.ts index bfeeb68..de2d382 100644 --- a/frontend/src/views/main.ts +++ b/frontend/src/views/main.ts @@ -461,7 +461,7 @@ export class MainView extends View { const messageId = child.getUserData() as number; const message = state.currentChannel?.getMessage(messageId); if (message) { - (child as ListItem).setText(`${message.content}; ${this.convertIsoTimeStringToRelative(message.createdAt)}`); + (child as ListItem).setText(`${message.content}; ${this.convertIsoTimeStringToFriendly(message.createdAt)}`); } } }