DateTimeFormat: The range of hours in Chinese is not right
See original GitHub issueDescribe the bug When the language is Chinese, and the formatPattern of DateTimeFormat is set to “YYYY’年’MMMdd’日’ a h’:'mm”, it should be a 12-hour clock system. However, the range of hours is 24-hour.
You can also reproduce this issue in the storybook website.
Expected behavior when the time is 12-hour system, the hour can only be selected from 0 to 12.
UI5 Web Components for React Information
@ui5/webcomponents
version: 1.0.0-rc.7
@ui5/webcomponents-react
version: 0.9.11
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Intl.DateTimeFormat() constructor - JavaScript - MDN Web Docs
The Intl.DateTimeFormat() constructor creates Intl.DateTimeFormat objects ... but not with other options (e.g. weekday , hour , month , etc.) ...
Read more >Date formatting based on user locale on android
You can use the DateFormat class that formats a date according to the user locale. Example: String dateOfBirth = "26/02/1974"; ...
Read more >Wrong date time format in Asia/Chinese/Japanese locale #117
Currently, exa is very naïve and assumes that every culture uses the date format of day-month. ls is smart and is able to...
Read more >A summary of the international standard date and time notation
ISO 8601 is only specifying numeric notations and does not cover dates and times where words are used in the representation. It is...
Read more >datetime — Basic date and time types — Python 3.11.1 ...
An aware object represents a specific moment in time that is not open to ... and there is no standard suitable for every...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @SunnyWind,
The issue is fixed with v1.0.0-rc.12 and ready for consumption. You could test with the latest release and get back to us if further assistance is needed.
Best Regards, Boyan
RC.12 is released @SunnyWind did you try it. If you face the issue, please comment below and we will reopen the issue.