pdhdol opened a new pull request, #44342: URL: https://github.com/apache/superset/pull/44342
### SUMMARY On ECharts time-series charts with Adaptive / SMART_DATE formatting and Time Grain = Quarter, quarter values were normalized to the first month of the quarter and then passed through the generic smart-date formatter. That path treats the value as a month (or year), so axis labels and tooltips collapse to something like `Jan 2024` or `2024` instead of an explicit quarter. This uses the d3 quarter specifier (`%Y-Q%q`) on the SMART_DATE path so axes and tooltips render `2024-Q1` … `2024-Q4`. An explicit custom time format is still honored verbatim. ### BEFORE/AFTER SCREENSHOTS Before <img width="1676" height="1111" alt="Screenshot 2569-09-16 at 17 17 34" src="https://github.com/user-attachments/assets/41647c65-a6be-460a-ba6d-74a634f061fb" /> After <img width="1692" height="1122" alt="Screenshot 2569-09-16 at 17 18 48" src="https://github.com/user-attachments/assets/28c42fcc-e9ff-4960-b0eb-02e8be80174a" /> ### TESTING INSTRUCTIONS Create a Line/Area/Bar time-series chart with a temporal x-axis, Time Grain = Quarter, and X-Axis / Tooltip time format left at Adaptive formatting. Confirm ticks and hover labels are YYYY-Qq (e.g. 2024-Q1). Then set an explicit format such as %Y-%m-%d and confirm the custom format still wins. ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Required feature flags: - [x] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API -- 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]
