Ken-poc opened a new issue, #27903:
URL: https://github.com/apache/airflow/issues/27903

   ### Apache Airflow version
   
   main (development)
   
   ### What happened
   
   I found a weird code when assigning dag.timezone from DAG model. The 
timezone of DAG is always assigned to None, `start_date` even has `tzinfo` 
though. Is it intended?
   
   ### What you think should happen instead
   
   Dag should have the timezone if start_date passed in has tzinfo. 
   
   ### How to reproduce
   
   Dag can't have timezone from start_date.
   
   ### Operating System
   
   MacOS Monteray
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-amazon==6.0.0
   apache-airflow-providers-cncf-kubernetes==4.4.0
   apache-airflow-providers-common-sql==1.2.0
   apache-airflow-providers-ftp==3.1.0
   apache-airflow-providers-http==4.0.0
   apache-airflow-providers-imap==3.0.0
   apache-airflow-providers-sqlite==3.2.1
   
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   None
   
   ### Anything else
   
   None
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to