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

[P2][Sourcing][datetime-picker] Unify into 24-hour clock for chinese language #12858

Open
sayantan-sap opened this issue Dec 19, 2024 · 0 comments
Assignees
Labels
ng15 Angular 15 support

Comments

@sayantan-sap
Copy link

Is this a bug, enhancement, or feature request?
Bug

Describe your proposal.
We are experiencing an issue with the Datetime Picker ngx component. A customer using the Chinese locale is seeing a 24-hour date-time format, whereas the core sourcing system displays the 12-hour format.

According to the API documentation, the time component should reflect the meridian (AM/PM) based on the current locale settings. It seems that the current locale format may not be accurately detected within this component.

If this is a bug, please provide steps for reproducing it; the exact components you are using;

  • Update your browser settings to include Chinese as a language option.

  • Navigate to the realm page, click the icon in the top-right corner, and set your locale preference to Chinese.

  • While creating or updating the Event Duration, the Period column indicating AM or PM is missing, and the time is displayed in a 24-hour format, which is an error.

Please refer to the screen recording attached.

Timezone.Issue.mp4

Can you handle that on the application side
No

Which versions of Angular and Fundamental Library for Angular are affected? Please, specify the exact version. (If this is a feature request, use current version.)
Angular: 15
core/ platform: 0.43.47

Did you check the documentation and the API?
https://ng-15-downport--fundamental-ngx.netlify.app/#/platform/datetime-picker/api

@droshev droshev added the ng15 Angular 15 support label Dec 19, 2024
@droshev droshev added this to the Sprint 142 - January 2025 milestone Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ng15 Angular 15 support
Projects
None yet
Development

No branches or pull requests

3 participants