remove 12hr time (#3954)
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user