mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
feat(formatters): Add custom d3-time-format locale (#24263)
This commit is contained in:
@@ -25,7 +25,7 @@ import {
|
||||
isPhysicalColumn,
|
||||
QueryFormColumn,
|
||||
QueryMode,
|
||||
smartDateFormatter,
|
||||
SMART_DATE_ID,
|
||||
t,
|
||||
} from '@superset-ui/core';
|
||||
import {
|
||||
@@ -361,7 +361,7 @@ const config: ControlPanelConfig = {
|
||||
type: 'SelectControl',
|
||||
freeForm: true,
|
||||
label: t('Timestamp format'),
|
||||
default: smartDateFormatter.id,
|
||||
default: SMART_DATE_ID,
|
||||
renderTrigger: true,
|
||||
clearable: false,
|
||||
choices: D3_TIME_FORMAT_OPTIONS,
|
||||
|
||||
Reference in New Issue
Block a user