Use "server" time from default.cfg for template engine variables #24157
Unanswered
MaksYermak
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In Airflow configuration we have the ability to change the
default_timezone
and then use this time like Server time. But for our template engine variables we continue to change time to UTC timezone e.g.execution_date
https://github.com/apache/airflow/blob/main/airflow/models/taskinstance.py#L546Community, what do you think about adding a new functionality which checks
default_timezone
and ifdefault_timezone
is not UTC then converts time to a new specified timezone?Beta Was this translation helpful? Give feedback.
All reactions