ibrahimdurmus commented on code in PR #28400:
URL: https://github.com/apache/airflow/pull/28400#discussion_r1050521443


##########
airflow/models/dag.py:
##########
@@ -462,8 +462,10 @@ def __init__(
         # set timezone from start_date
         tz = None
         if start_date and start_date.tzinfo:
-            tzinfo = None if start_date.tzinfo else settings.TIMEZONE
-            tz = pendulum.instance(start_date, tz=tzinfo).timezone
+            if start_date.tzinfo is None:

Review Comment:
   this is checked in previous line 464 and confirmed it is valid, does 465 
still make sense?



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