mirror of
https://github.com/apache/superset.git
synced 2026-05-09 18:05:52 +00:00
Fixes #31790 When the "Adaptive" datetime format option was selected for x-axis in ECharts visualizations, the custom D3 locale settings (like localized month names) were being ignored. This was because getXAxisFormatter() was returning undefined for SMART_DATE_ID, causing ECharts to use its default formatter instead of the configured D3 locale formatter. The fix ensures that when SMART_DATE_ID is selected, the smart date formatter with proper locale support is returned, allowing custom D3 time formats with localized month and day names to work correctly with the adaptive option. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>