fix/extra curly bracket in relative date timestamp
This commit is contained in:
parent
d7e0a8b614
commit
6c22a62e2d
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ export const getTime = (timestamp: Date): string => {
|
||||||
timeString =
|
timeString =
|
||||||
`${
|
`${
|
||||||
months[date.getMonth()] || ""
|
months[date.getMonth()] || ""
|
||||||
}} ${date.getDate()} ${date.getFullYear()} ` +
|
} ${date.getDate()} ${date.getFullYear()} ` +
|
||||||
`at ${
|
`at ${
|
||||||
date.getHours().toString().length === 1
|
date.getHours().toString().length === 1
|
||||||
? "0" + date.getHours().toString()
|
? "0" + date.getHours().toString()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue