mirror of
https://github.com/apache/superset.git
synced 2026-07-25 08:02:28 +00:00
fix(chart): allow custom date format for week range in Big Number with Trendline (#35752)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user