fix/extra curly bracket in relative date timestamp

This commit is contained in:
MarconLP 2023-05-01 22:42:08 +02:00
parent d7e0a8b614
commit 6c22a62e2d
No known key found for this signature in database
GPG key ID: A08A9C8B623F5EA5

View file

@ -43,7 +43,7 @@ export const getTime = (timestamp: Date): string => {
timeString =
`${
months[date.getMonth()] || ""
}} ${date.getDate()} ${date.getFullYear()} ` +
} ${date.getDate()} ${date.getFullYear()} ` +
`at ${
date.getHours().toString().length === 1
? "0" + date.getHours().toString()