mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
fix(echart): Tooltip date format doesn't follow time grain (#33138)
This commit is contained in:
@@ -78,7 +78,7 @@ export function getTooltipTimeFormatter(
|
||||
format?: string,
|
||||
): TimeFormatter | StringConstructor {
|
||||
if (format === SMART_DATE_ID) {
|
||||
return getSmartDateDetailedFormatter();
|
||||
return getSmartDateVerboseFormatter();
|
||||
}
|
||||
if (format) {
|
||||
return getTimeFormatter(format);
|
||||
|
||||
Reference in New Issue
Block a user