Skip to content

UI time zone not used in Gantt charts tooltips #8210

Closed

Description

@olchas

Apache Airflow version: v2.0.0.dev0

Kubernetes version (if you are using kubernetes) (use kubectl version): -

Environment: Docker

  • Cloud provider or hardware configuration: -
  • OS (e.g. from /etc/os-release): Debian GNU/Linux 10 (buster)
  • Kernel (e.g. uname -a):
    Linux 6dac905dd519 4.19.76-linuxkit Improving the search functionality in the graph view #1 SMP Thu Oct 17 19:31:58 UTC 2019 x86_64 GNU/Linux
  • Install tools: Airflow Breeze (image: apache/airflow:master-python3.6-ci)
  • Others: -
    What happened:

Gantt charts seem to always use UTC for displaying task start/end dates, but use local time for time axis, regardless of the time zone set in UI (see screens below: my local time zone is CEST).
Zrzut ekranu 2020-04-8 o 09 18 50
Zrzut ekranu 2020-04-8 o 09 17 17
Zrzut ekranu 2020-04-8 o 10 58 09

What you expected to happen:

Time zone of the time axis and task start/end dates should be the same - probably the time zone specified in the UI should be used.

How to reproduce it:

Simply go to Gantt chart of any Dag Run and try changing the time zone in the UI to see that neither the time axis nor task start/end dates reflect the change.

You can also change the local time on your workstation and refresh the page with Gantt chart to see that time axis changed to reflect the new time zone.

Anything else we need to know: -

Activity

  1. boring-cyborg commented on Apr 8, 2020

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template!

  2. mik-laj commented on Apr 8, 2020

    @mik-laj
    Member

    @ashb Can you look at it

  3. changed the title [-]UI time zone not used in Gantt charts[/-] [+]UI time zone not used in Gantt charts tooltips[/+] on Apr 8, 2020
  4. ashb commented on Apr 8, 2020

    @ashb
    Member

    Yup, valid bug, missed the tooltips on that in my timezone revamp. I will try and make them use the same tooltip code as graph and tree view (which now share the same JS)

  5. self-assigned this
    on Apr 8, 2020
  6. added a commit that references this issue on Apr 9, 2020
    08c9b0a
  7. added a commit that references this issue on Mar 5, 2021
    78858b7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:webserverWebserver related Issueskind:bugThis is a clearly a bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions