fix(chart): allow custom date format for week range in Big Number with Trendline (#35752)

This commit is contained in:
Jacobdavis12
2026-07-08 01:46:06 +01:00
committed by GitHub
parent 9617155289
commit 3fa000ba0b
2 changed files with 27 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ export const getDateFormatter = (
) =>
timeFormat === SMART_DATE_ID
? getTimeFormatterForGranularity(granularity)
: getTimeFormatter(timeFormat ?? fallbackFormat);
: getTimeFormatter(timeFormat ?? fallbackFormat, granularity);
export function getOriginalLabel(
metric: QueryFormMetric,