Skip to content

Display schedule timezone in UI DAG list for timezone-aware DAGs #13085

@mhaalme

Description

@mhaalme

Description

Display schedule timezone in web UI for timezone-aware DAGs

Use case / motivation

We use Airflow to orchestrate tasks in a variety of different systems, some of which contain timezone-dependent data and others work in UTC. Additionally, some DAGs must be run at certain times in our local timezone while others require fixed intervals which should not be affected by daylight savings. Using only UTC or only local is not an option for us and in the future it is likely that some DAGs will depend on a third timezone entirely.

Looking at the cron expressions in the DAG list, there is no way to quickly tell which DAGs are timezone-dependent. This can be confusing, especially for beginners or less frequent Airflow users. For example two DAGs can appear to be scheduled to run in parallel, but their actual start time will be 3 hours apart because one is timezone-aware.

Changing the UI timezone does not affect the cron expressions - I assume that this is intentional and it seems to be reasonable. However, it would be a lot easier to interpret the expressions if the timezone was also displayed next to them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:UIRelated to UI/UX. For Frontend Developers.kind:featureFeature Requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions