You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
So in this issue you don't mention whether you are using a Datetime Adapter from our library, or from dayjs etc, to change the locale on the datetime picker. I'm assuming you are - in which case you can just add the [meridian]="true" input to the component and you'll see the am/pm column.
If you are not using an adapter, are you able to create a stackblitz example demonstrating this problem? We need more context and some sample code. With my OS and Chrome using Chinese, as well as changing the language to Chinese in the dropdown in the shellbar, I'm still seeing the clock showing the meridian field:
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
The text was updated successfully, but these errors were encountered: