Use local timezone for date time tooltip

This commit is contained in:
James Grugett 2022-02-22 14:54:58 -06:00
parent 185e68fa23
commit 72d0797b3f

View File

@ -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 (