atul-astronomer opened a new issue, #49542: URL: https://github.com/apache/airflow/issues/49542
### Apache Airflow version 3.0.0 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? Selected timezone is UTC but while triggering the Dag, its giving option in the local timezone.   ### What you think should happen instead? _No response_ ### How to reproduce 1. Keep timezone in UTC and trigger any Dag, the timezones doesn't match. ```python from airflow import AirflowException from airflow.sdk import DAG from airflow.decorators import task from airflow.providers.standard.operators.bash import BashOperator from airflow.exceptions import AirflowSkipException from datetime import datetime, timedelta with DAG( dag_id="zip", doc_md="zip two datasets together (2 tasks)", schedule=timedelta(days=30 * 365), start_date=datetime(1970, 1, 1), tags=["taskmap"] ) as zip: @task def get_cmd(): return ["echo hello $VAR", "echo goodbye $VAR"] @task def get_env(): return [{"VAR": "foo"}, {"VAR": "bar"}] def mapper(arg): return {"bash_command": arg[0], "env": arg[1]} combined = get_cmd().zip(get_env()).map(mapper) BashOperator.partial( task_id="two_cmds", ).expand_kwargs(combined) ``` ### Operating System Linux ### Versions of Apache Airflow Providers _No response_ ### Deployment Other ### Deployment details _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [ ] 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
