Skip to content

[6.x] Hide seconds in date picker timezone hover card unless enabled - #15804

Merged
jasonvarga merged 1 commit into
6.xfrom
hide-timezone-tooltip-seconds
Nov 9, 2026
Merged

jasonvarga merged 1 commit into
6.xfrom
hide-timezone-tooltip-seconds

Conversation

@joshuablum

Copy link
Copy Markdown
Member

The timezone hover card on date fields always shows seconds, even when "Show Seconds" is disabled. Because they can't be edited in the field, they look random. For example, "Add Date" fills in the current time including seconds, which are only dropped once the entry is saved.

This adds a showSeconds prop to Timezones and TimezoneHoverCard. It defaults to true, so existing usages are unchanged. The date and date range pickers now only show seconds when their granularity is second.

Before
image

After
image

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jasonvarga
jasonvarga merged commit cdc0d41 into 6.x Nov 9, 2026
65 checks passed
@jasonvarga
jasonvarga deleted the hide-timezone-tooltip-seconds branch November 9, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants