Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
prefix,
suffix,
significantDigits: VIS_SIG_DIGITS,
trimZeros,
})
}
if (columnType === 'time') {
const formatOptions = {
timeZone: timeZone === 'Local' ? undefined : timeZone,
format: resolveTimeFormat(timeFormat),
}
if (timeFormat?.includes('HH')) {
formatOptions['hour12'] = false
}
return timeFormatter(formatOptions)
}
return null
}