kgabryje opened a new pull request, #29669: URL: https://github.com/apache/superset/pull/29669
### SUMMARY In custom time range filter, in specific mode, the default time would show UTC midnight adjusted to user's current timezone. This PR fixes that behaviour by using the time without timezone. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF Before: <img width="1074" alt="Screenshot 2024-07-23 at 15 04 59" src="https://github.com/user-attachments/assets/9d7b57c2-0616-4b48-88a5-10e2dd49dc9d"> After: <img width="1074" alt="Screenshot 2024-07-23 at 15 05 58" src="https://github.com/user-attachments/assets/c3f8dc00-5dab-455b-9f85-529a5d74ab9c"> ### TESTING INSTRUCTIONS 1. Open explore and add a time range filter 2. Open time range filter edit modal 3. Select Custom -> Specific Date/Time 4. Verify that the default value is the current day and the time is 00:00:00 ### 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: - [ ] 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]
