hussein-awala commented on code in PR #33406:
URL: https://github.com/apache/airflow/pull/33406#discussion_r1295148713


##########
airflow/sensors/time_sensor.py:
##########
@@ -64,7 +64,7 @@ def __init__(self, *, target_time, **kwargs):
         self.target_time = target_time
 
         aware_time = timezone.coerce_datetime(
-            datetime.datetime.combine(datetime.datetime.today(), 
self.target_time)
+            datetime.datetime.combine(datetime.datetime.today(), 
self.target_time, self.dag.timezone)

Review Comment:
   Could you add a test for this change?



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

Reply via email to