Skip to content

AIP-38: remove default_ui_timezone #49176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2025

Conversation

guan404ming
Copy link
Contributor

Related Issue

Why

The default_ui_timezone configuration was adding unnecessary complexity to the Airflow UI timezone management. By removing this configuration and always using the system timezone as default, it would have better user experience.

How

  • Removed default_ui_timezone from configuration files
  • Updated UI to use system timezone by default
  • Modified backend code to no longer check for this configuration
  • Updated documentation to reflect the change

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:providers area:UI Related to UI/UX. For Frontend Developers. kind:documentation provider:fab labels Apr 13, 2025
@guan404ming guan404ming force-pushed the remove-default_ui_timezone branch 2 times, most recently from 8498138 to 699fd13 Compare April 13, 2025 09:03
Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could drop that, but I find it to be an interesting small feature at a limited cost. (For now the complexity added is low, maintainability is close to None too because everything is handled by the TimezoneProvider and we rarely update that piece of code) I'm not sure if we should drop it.

What do you think @bbovenzi ?

@bbovenzi
Copy link
Contributor

I'm ambivalent. Generally I like to simplify config, and I like to have less of the UI dictated by the config and 3.0 is the time to remove old ones.

@pierrejeambrun
Copy link
Member

Ok let’s go for removal then

@guan404ming
Copy link
Contributor Author

Thanks for reviewing~

@guan404ming guan404ming force-pushed the remove-default_ui_timezone branch from 699fd13 to 3ff810d Compare April 15, 2025 09:47
@guan404ming guan404ming force-pushed the remove-default_ui_timezone branch from 3ff810d to 5ee2bce Compare April 15, 2025 10:42
@kaxil kaxil merged commit 09854ff into apache:main Apr 15, 2025
95 checks passed
@guan404ming guan404ming deleted the remove-default_ui_timezone branch April 15, 2025 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:API Airflow's REST/HTTP API area:providers area:UI Related to UI/UX. For Frontend Developers. kind:documentation provider:fab
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants