This is an automated email from the ASF dual-hosted git repository.

beto pushed a commit to branch sc_74037
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 1c1992e7f81e53717b05e8a8dfca1b4d659a736d
Author: Beto Dealmeida <[email protected]>
AuthorDate: Mon Sep 25 14:21:53 2023 -0700

    Small fix
---
 .../src/filters/components/Select/SelectFilterPlugin.tsx            | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git 
a/superset-frontend/src/filters/components/Select/SelectFilterPlugin.tsx 
b/superset-frontend/src/filters/components/Select/SelectFilterPlugin.tsx
index 87b39e6f1e..39bb4e5798 100644
--- a/superset-frontend/src/filters/components/Select/SelectFilterPlugin.tsx
+++ b/superset-frontend/src/filters/components/Select/SelectFilterPlugin.tsx
@@ -26,7 +26,6 @@ import {
   GenericDataType,
   getColumnLabel,
   JsonObject,
-  smartDateDetailedFormatter,
   finestTemporalGrainFormatter,
   t,
   tn,
@@ -118,10 +117,7 @@ export default function PluginFilterSelect(props: 
PluginFilterSelectProps) {
   const labelFormatter = useMemo(
     () =>
       getDataRecordFormatter({
-        timeFormatter:
-          datatype === GenericDataType.TEMPORAL
-            ? finestTemporalGrainFormatter(data.map(el => el.col))
-            : smartDateDetailedFormatter,
+        timeFormatter: finestTemporalGrainFormatter(data.map(el => el.col)),
       }),
     [data, datatype],
   );

Reply via email to