From 7370bebf072c345c8e25974a694595f32f1bb4ca Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 10 May 2024 17:36:06 +0100 Subject: [PATCH] remove 12hr time (#3954) --- src/components/dms/MessageItem.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/dms/MessageItem.tsx b/src/components/dms/MessageItem.tsx index e9128c5a07..faf0c88cd8 100644 --- a/src/components/dms/MessageItem.tsx +++ b/src/components/dms/MessageItem.tsx @@ -137,7 +137,6 @@ let MessageItemMetadata = ({ const time = new Intl.DateTimeFormat(undefined, { hour: 'numeric', minute: 'numeric', - hour12: true, }).format(date) const diff = now.getTime() - date.getTime() @@ -163,7 +162,6 @@ let MessageItemMetadata = ({ return new Intl.DateTimeFormat(undefined, { hour: 'numeric', minute: 'numeric', - hour12: true, day: 'numeric', month: 'numeric', year: 'numeric',