Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(time-picker): display correct localized hour based on hour-format when no value is set #11200

Merged
merged 7 commits into from
Jan 4, 2025

Conversation

eriklharper
Copy link
Contributor

@eriklharper eriklharper commented Jan 3, 2025

Related Issue: #11198

Summary

This PR fixes an issue where if no valid time value is currently set, the time-picker component doesn't display the hour in the corresponding hour-format.

BEGIN_COMMIT_OVERRIDE
omitted from changelog
END_COMMIT_OVERRIDE

@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Jan 3, 2025
eriklharper and others added 4 commits January 3, 2025 14:01
…isplay tests, moving 2 it blocks related to focus behavior into the focusing describe block, adding hour-format to defaults test, updating hour typing test to use hour-format 12 and 24
@eriklharper eriklharper marked this pull request as ready for review January 3, 2025 23:56
@eriklharper eriklharper requested a review from jcfranco January 3, 2025 23:56
@jcfranco jcfranco added the no changelog entry Use the commit override to avoid a changelog entry label Jan 4, 2025
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Aside from a few cleanup comments, this LGTM! ✨🕐🤏✨

@eriklharper eriklharper added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Jan 4, 2025
@eriklharper eriklharper merged commit a938192 into dev Jan 4, 2025
14 checks passed
@eriklharper eriklharper deleted the eriklharper/11198-time-picker-wrong-initial-hour branch January 4, 2025 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug. no changelog entry Use the commit override to avoid a changelog entry pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants