Skip to content

New Windows PT time zone results in UI error due to unresolved time zone #75697

Closed

Description

@cbuffett

Under which category would you file this issue?

Airflow Core

Apache Airflow version

3.1.7

What happened and how to reproduce it?

After recently switching my time zone from PDT to the new unified Pacific Time (PT) time zone, I received the following error after logging in:

TypeError: Cannot read properties of undefined (reading 'toUpperCase')
    at gd (index-DMFz1oOG.js:584:8179)
    at Dft (index-DMFz1oOG.js:70:34718)
    at Jit (index-DMFz1oOG.js:70:63847)
    at Dvn (index-DMFz1oOG.js:70:74419)
    at a1n (index-DMFz1oOG.js:70:108782)
    at fSr (index-DMFz1oOG.js:70:107817)
    at Ttt (index-DMFz1oOG.js:70:107643)
    at r1n (index-DMFz1oOG.js:70:104696)
    at m1n (index-DMFz1oOG.js:70:116348)
    at MessagePort.vn (index-DMFz1oOG.js:55:1683)

This appears to be caused by stale time zone information in local storage and an unguarded call to selectedTimezone.toUpperCase() where selectedTimezone is undefined due to being unable to resolve the OS time zone to an IANA name.

Reproduction:

  1. Set your Windows time zone to Pacific Time (UTC -7:00)
  2. Clear browser local storage for the Airflow server
  3. Log in to Airflow
  4. Any page that renders the Time crashes

I'm able to work around this by changing the time zone for my user in the Airflow UI.

What you think should happen instead?

The UI should fall back to a known value when it fails to resolve the OS time zone, e.g., UTC. Any page that renders the time should not crash.

Operating System

Windows 11 64-bit

Deployment

Official Apache Airflow Helm Chart

Apache Airflow Provider(s)

No response

Versions of Apache Airflow Providers

No response

Official Helm Chart version

Not Applicable

Kubernetes Version

Not Applicable

Helm Chart configuration

No response

Docker Image customizations

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:bug
    needs-triage
    on Oct 26, 2026
  2. changed the title [-]New Windows PT time zone results in UI error due to stale local storage time zone data[/-] [+]New Windows PT time zone results in UI error due to unresolved time zone[/+] on Oct 26, 2026
  3. added a commit that references this issue on Oct 27, 2026
    df37268
  4. added a commit that references this issue on Oct 27, 2026
    ee42ee6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions