Skip to content

Fix datetime pickers unusable on Firefox and Safari - #71627

Merged
bbovenzi merged 1 commit into
apache:mainfrom
astronomer:fix-backfill-firefox-datetime
Aug 18, 2026
Merged

Fix datetime pickers unusable on Firefox and Safari#71627
bbovenzi merged 1 commit into
apache:mainfrom
astronomer:fix-backfill-firefox-datetime

Conversation

@pierrejeambrun

@pierrejeambrun pierrejeambrun commented Aug 14, 2026

Copy link
Copy Markdown
Member

Native datetime-local inputs report no value until both a date and a time are entered, and Firefox and Safari do not auto-fill the time when a date is picked from their calendar. Picking a date without a time therefore left the field empty and disabled the backfill form.

The picker is now built on text date + time inputs — the same building blocks the date-range filter already uses — so a date-only entry defaults the time (start of day, or end of day for a range's upper bound) and produces a usable value consistently across browsers. It shows the selected timezone and offers a calendar popover, matching the date-range picker.

This affects every place the shared DateTimeInput is used: the backfill dialog, the trigger form (logical date + manual data interval), and dynamic / flexible-form datetime params.

closes: #54429

Before / After

Backfill — date range

  • Before:
01-backfill-closed - After: 01-backfill-closed 01-backfill-open

Trigger — logical date

  • Before:
02-trigger-logical-date-closed - After: 02-trigger-logical-date-closed 02-trigger-logical-date-open

Trigger — manual data interval

  • Before:
03-trigger-data-interval-closed - After: 03-trigger-data-interval-closed 03-trigger-data-interval-open

Dynamic form — date-time param

  • Before:
04-dynamic-form-datetime-param-closed - After: 04-dynamic-form-datetime-param-closed 04-dynamic-form-datetime-param-open
Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.8)

Generated-by: Claude Code (Opus 4.8) following the guidelines

@boring-cyborg boring-cyborg Bot added area:translations area:UI Related to UI/UX. For Frontend Developers. translation:default labels Aug 14, 2026
@pierrejeambrun
pierrejeambrun force-pushed the fix-backfill-firefox-datetime branch from e2225c9 to 50a141e Compare August 17, 2026 09:36
@pierrejeambrun
pierrejeambrun marked this pull request as ready for review August 18, 2026 09:29
@pierrejeambrun

Copy link
Copy Markdown
Member Author

Similarly for task state store:
Screenshot 2026-08-18 at 11 32 22

Native `datetime-local` inputs report no value until both a date and a time
are entered, and Firefox and Safari do not auto-fill the time when a date is
picked from their calendar. Picking a date without a time therefore left the
field empty, which disabled the backfill form (and every other datetime
field). Rebuild the picker on text date and time inputs — the same building
blocks the date-range filter already uses — so a date-only entry defaults the
time and produces a usable value consistently across browsers.
@pierrejeambrun
pierrejeambrun force-pushed the fix-backfill-firefox-datetime branch from 50a141e to de4d241 Compare August 18, 2026 09:48
@bbovenzi bbovenzi added this to the Airflow 3.3.2 milestone Aug 18, 2026
@bbovenzi bbovenzi added the backport-to-v3-3-test Backport to v3-3-test label Aug 18, 2026
@bbovenzi
bbovenzi merged commit 9ef2b27 into apache:main Aug 18, 2026
89 checks passed
@bbovenzi
bbovenzi deleted the fix-backfill-firefox-datetime branch August 18, 2026 18:09
@github-actions

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-3-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-3-test PR Link

pierrejeambrun added a commit that referenced this pull request Aug 19, 2026
…) (#71788)

Native `datetime-local` inputs report no value until both a date and a time
are entered, and Firefox and Safari do not auto-fill the time when a date is
picked from their calendar. Picking a date without a time therefore left the
field empty, which disabled the backfill form (and every other datetime
field). Rebuild the picker on text date and time inputs — the same building
blocks the date-range filter already uses — so a date-only entry defaults the
time and produces a usable value consistently across browsers.
(cherry picked from commit 9ef2b27)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:translations area:UI Related to UI/UX. For Frontend Developers. backport-to-v3-3-test Backport to v3-3-test translation:default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[webui] DateTimeInput broken on Firefox

2 participants