remove 12hr time (#3954)

zio/stable
Samuel Newman 2024-05-10 17:36:06 +01:00 committed by GitHub
parent cf981124e4
commit 7370bebf07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -137,7 +137,6 @@ let MessageItemMetadata = ({
const time = new Intl.DateTimeFormat(undefined, { const time = new Intl.DateTimeFormat(undefined, {
hour: 'numeric', hour: 'numeric',
minute: 'numeric', minute: 'numeric',
hour12: true,
}).format(date) }).format(date)
const diff = now.getTime() - date.getTime() const diff = now.getTime() - date.getTime()
@ -163,7 +162,6 @@ let MessageItemMetadata = ({
return new Intl.DateTimeFormat(undefined, { return new Intl.DateTimeFormat(undefined, {
hour: 'numeric', hour: 'numeric',
minute: 'numeric', minute: 'numeric',
hour12: true,
day: 'numeric', day: 'numeric',
month: 'numeric', month: 'numeric',
year: 'numeric', year: 'numeric',