Skip to content

Commit

Permalink
remove 12hr time (#3954)
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius authored May 10, 2024
1 parent cf98112 commit 7370beb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/dms/MessageItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -163,7 +162,6 @@ let MessageItemMetadata = ({
return new Intl.DateTimeFormat(undefined, {
hour: 'numeric',
minute: 'numeric',
hour12: true,
day: 'numeric',
month: 'numeric',
year: 'numeric',
Expand Down

0 comments on commit 7370beb

Please sign in to comment.