praveer-rc commented on issue #33724: URL: https://github.com/apache/superset/issues/33724#issuecomment-2984016489
> Hi [@praveer-rc](https://github.com/praveer-rc)! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team. > > This is a known limitation in Superset 4.0.2: the date format for filters is not configurable and does not use the chart's timestamp format setting. The filter UI does not expose a date format option, and the codebase confirms that filter plugins do not propagate or apply custom timestamp formats—date formatting is handled generically or via chart-level settings only. > > If you need a specific timestamp format in your table/chart display, make sure no time grain is set, as time grains will truncate the timestamp and prevent full formatting from being applied. However, for filter controls themselves, there is currently no built-in way to change the date format—they will default to the standard format (typically `%Y-%m-%d`) regardless of your chart settings. This behavior is not patched or worked around in the current codebase, and any workaround would require custom development or forking the filter plugin components. > > References: > > * [Timestamp format and time grain discussion](https://github.com/apache/superset/discussions/31581) > * [Relevant code in filter plugins](https://github.com/apache/superset/blob/08655a7559718e10049fa16f83f40146402405fa/superset-frontend/src/filters/components/TimeColumn/TimeColumnFilterPlugin.tsx) > > _To reply, just mention [@dosu](https://go.dosu.dev/dosubot)._ > > How did I do? [Good](https://app.dosu.dev/response-feedback/245d10de-1822-496c-9514-31583527f5d6?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/245d10de-1822-496c-9514-31583527f5d6?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/245d10de-1822-496c-9514-31583527f5d6?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/245d10de-1822-496c-9514-31583527f5d6?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/245d10de-1822-496c-9514-31583527f5d6?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/245d10de-1822-496c-9514-31583527f5d6?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/245d10de-1822-496c-9514-31583527f5d6?feedback_type=other) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/33724) And which version of superset would not have this issue? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
