namest504 commented on code in PR #76521:
URL: https://github.com/apache/airflow/pull/76521#discussion_r4478121085
##########
providers/standard/src/airflow/providers/standard/sensors/date_time.py:
##########
@@ -120,10 +120,16 @@ def __init__(
if self.start_from_trigger:
if AIRFLOW_V_3_3_PLUS:
+ # Localize datetimes before Dag serialization interprets naive
values in the
+ # process timezone instead of Airflow's default timezone. Keep
templates raw.
Review Comment:
Sure, moved them right above `"target_time"` in e39f32a.
--
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]