superset
superset copied to clipboard
fix(viz-date-control): Just use global DEFAULT_TIME_FORMAT instead of hardcoding 'smart_date'
SUMMARY
Some visualizations in the date formatter control specify a default date format 'smart_date'. However, it is recommended to use the DEFAULT_TIME_FORMAT instead of hardcoding a specific format.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION
- [ ] Has associated issue:
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration (follow approval process in SIP-59)
- [ ] 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