-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
DateTimePicker inconsistent time format 24h vs 12h format in Firefox #4294
Comments
DateTimePicker uses TimeInput component under the hood. TimeInput component is a native |
Thanks for clariication. So only option for me is to create custom component, which wont use input[type="time"]. So problem is that time input using some kind of native implementation which is browser dependend and other is using different implementation which is browser independent. |
You can also try changing value format based on user locale |
Why does not support custom time formatter or rendering? |
What package has an issue
@mantine/core
Describe the bug
I cannot change format for TimeInput, but problem is that it does not work as expected and time format differs in Firefox
21:57 vs 09:57 PM
Main example: https://mantine.dev/dates/date-time-picker/
Would be nice to have posibility to force 24 or 12h format.
Often application are developed in one language only so automatic change base on localization can only cause problem.
What version of @mantine/hooks page do you have in package.json?
6.0.11
If possible, please include a link to a codesandbox with the reproduced problem
No response
Do you know how to fix the issue
No
Are you willing to participate in fixing this issue and create a pull request with the fix
None
Possible fix
No response
The text was updated successfully, but these errors were encountered: