mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix(echart): Tooltip date format doesn't follow time grain (#33138)
(cherry picked from commit 7333ffd41e)
This commit is contained in:
committed by
Michael S. Molina
parent
aab564fa58
commit
454397fc17
@@ -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