airflow icon indicating copy to clipboard operation
airflow copied to clipboard

Inconsistent display of timezone

Open hydeboy opened this issue 1 year ago • 1 comments

Apache Airflow version

2.10.2

If "Other Airflow 2 version" selected, which one?

No response

What happened?

20241018160503

What you think should happen instead?

The Timezone displayed in the details area on the webpage should be consistent with thedag_timezone in the

of the HTML source

How to reproduce

Set the default_timezone in the airflows. cfg file to Asia/Shanghai, start airflow, open the homepage, and click on example_branch_operator

Operating System

Ubuntu 22.04

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

hydeboy avatar Oct 18 '24 08:10 hydeboy

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

boring-cyborg[bot] avatar Oct 18 '24 08:10 boring-cyborg[bot]

See also https://airflow.apache.org/docs/apache-airflow/stable/authoring-and-scheduling/timezone.html#default-time-zone

This is the internal time zone for the scheduling and processing of jobs. The UI display is separate of this and in your case it seems you have selected UTC in the browser top-right. So I see this is rather a feature (DAG is configured to run in Timezone A and your Browser is in Timezone B).

jscheffl avatar Nov 02 '24 20:11 jscheffl

This issue has been automatically marked as stale because it has been open for 14 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author.

github-actions[bot] avatar Nov 17 '24 00:11 github-actions[bot]

This issue has been closed because it has not received response from the issue author.

github-actions[bot] avatar Nov 24 '24 00:11 github-actions[bot]