charliesheh opened a new pull request, #40034:
URL: https://github.com/apache/superset/pull/40034

   Fixes #39781.
   
   Normalizes epoch timestamp generation to UTC when handling timezone-naive 
datetimes in `dttm_sql_literal()`.
   
   Previously, `datetime.timestamp()` depended on the local machine timezone, 
causing `test_dttm_sql_literal()` to fail on non-UTC environments.
   
   This change ensures deterministic epoch conversion behavior across 
environments by explicitly treating naive datetimes as UTC before generating 
epoch literals.
   
   Note: I was unable to fully run the local test suite because the Superset 
development dependencies are not fully installed in my environment (`alembic` 
missing).
   


-- 
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]

Reply via email to