Use local timezone for date time tooltip
This commit is contained in:
parent
185e68fa23
commit
72d0797b3f
|
@ -14,7 +14,7 @@ export function DateTimeTooltip(props: {
|
|||
}) {
|
||||
const { time, text } = props
|
||||
|
||||
const formattedTime = dayjs(time).format('MMM DD, YYYY hh:mm a z')
|
||||
const formattedTime = dayjs(time).format('MMM DD, YYYY hh:mm a')
|
||||
const toolTip = text ? `${text} ${formattedTime}` : formattedTime
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue
Block a user