'Triggering a DAG manually runs it on UTC schedule

I recently upgraded my airflow to 2.2.4. Now, from my admin console when I hit trigger DAG, it goes to queued. It does not immediately run but runs after 7 hours. The airflow scheduler and server are in the PDT timezone (7 hours behind UTC) so why is it triggering the DAG 'now' as UTC 'now' and not the set PDT timezone?

My airflow.cfg has default_timezone and default_ui_timezone set to America/Los_Angeles



Solution 1:[1]

You have to set default_timezone in the Airflow configuration. By default its value is UTC. See : https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#default-timezone

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 B.B