-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Timepicker hour 12 displayed as 0 #3418
Comments
@cain I investigated about and it's relative to Intl.DateTimeFormat because internally the component use it (you can override it anyway). |
@jtommy thanks for looking, i also had a look and it turns out 0 is the "correct" display. Thanks ill use the override :) |
@jtommy Buefy uses the Changing this to use Do you think the default Buefy format function needs to be updated to use this param instead? CleanShot.2021-10-27.at.09.37.27.mp4 |
@cain yes, please make a PR |
This is likely because of https://bugs.chromium.org/p/chromium/issues/detail?id=1347316 |
Overview of the problem
Buefy version: Latest
Vuejs version: -
OS/Browser: -
Description
Timepicker component hour selector shows "12". But once selected the hour displayed is "0".
Looking into it, seems like 0 PM or 0 AM is correct. But maybe we want to support a way to display as 12 PM?
Steps to reproduce
Expected behavior
Display hour value as "12"
Actual behavior
Hour value displaying as "0" for both PM and AM values
Example on docs: https://buefy.org/documentation/timepicker

The text was updated successfully, but these errors were encountered: