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

This commit is contained in:
JUST.in DO IT
2025-04-15 18:51:53 -07:00
committed by GitHub
parent 7dc5019b9d
commit 7333ffd41e

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