From 9bcc2de615859cccf135d55afa0e630e7b2e52bf Mon Sep 17 00:00:00 2001 From: puri-ph4tt Date: Tue, 6 Feb 2024 10:27:37 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20format=20?= =?UTF-8?q?=E0=B9=81=E0=B8=AA=E0=B8=94=E0=B8=87=E0=B9=80=E0=B8=A7=E0=B8=A5?= =?UTF-8?q?=E0=B8=B2=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/00_support/components/ChatMessage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/00_support/components/ChatMessage.vue b/src/modules/00_support/components/ChatMessage.vue index 5692616..3f405ec 100644 --- a/src/modules/00_support/components/ChatMessage.vue +++ b/src/modules/00_support/components/ChatMessage.vue @@ -10,7 +10,7 @@ function dateChat(timestamp: string) { const diff = moment().diff(parsedTimestamp); if (diff < 86400000) { - const formattedDate = parsedTimestamp.format("hh:mm:") + " น."; + const formattedDate = parsedTimestamp.format("HH:mm:") + " น."; return formattedDate; } else { const beYear = parsedTimestamp.year() + 543;