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

AM/PM selector sets initially to AM #353

Open
juliecki opened this issue Nov 12, 2024 · 0 comments
Open

AM/PM selector sets initially to AM #353

juliecki opened this issue Nov 12, 2024 · 0 comments

Comments

@juliecki
Copy link

juliecki commented Nov 12, 2024

Steps to reproduce:

  1. Use locale en
  2. Set date in UI to e.g. "11:30 PM"
  3. Save in the background the chosen time
  4. Close component, e.g. switch somewhere else
  5. Open component again, see that time is set to "11:30 AM"

Although the value of the date is "11:30 PM" and shows "23:30" when I switch the locale to "de".

Expected behaviour:

  • the AM/PM-dropdown should be set correctly depending if AM or PM is in value

React version

18.3.12

Language

TypeScript

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

No branches or pull requests

1 participant