fix(echart): Tooltip date format doesn't follow time grain (#33138)

(cherry picked from commit 7333ffd41e)
This commit is contained in:
JUST.in DO IT
2025-04-15 18:51:53 -07:00
committed by Michael S. Molina
parent aab564fa58
commit 454397fc17

View File

@@ -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);