mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
feat(formatters): Add custom d3-time-format locale (#24263)
This commit is contained in:
@@ -7,6 +7,7 @@ import {
|
||||
SequentialSchemeConfig,
|
||||
} from '@superset-ui/core';
|
||||
import { FormatLocaleDefinition } from 'd3-format';
|
||||
import { TimeLocaleDefinition } from 'd3-time-format';
|
||||
import { isPlainObject } from 'lodash';
|
||||
import { Languages } from 'src/features/home/LanguagePicker';
|
||||
import { FlashMessage } from '../components/FlashProvider';
|
||||
@@ -152,6 +153,7 @@ export interface CommonBootstrapData {
|
||||
theme_overrides: JsonObject;
|
||||
menu_data: MenuData;
|
||||
d3_format: Partial<FormatLocaleDefinition>;
|
||||
d3_time_format: Partial<TimeLocaleDefinition>;
|
||||
}
|
||||
|
||||
export interface BootstrapData {
|
||||
|
||||
Reference in New Issue
Block a user