ant-design/ant-design
在 GitHub 查看TimePicker Popup use12Hours AM and PM labels are not covered by internationalization
Open
#48,235 创建于 2024年4月2日
Inactivehelp wantedunconfirmed
描述
Reproduction link
Steps to reproduce
Open TimePicker Popup to change value.
when the Timepicker or Datetimepicker is clicked , "am" and "pm" fields in the popup sholuld be displayed according to my locale, for example: When I set my locale as "tr", it should be "öö" and "ös" instead of "am" and "pm"
Reference #31520, #35655
What is expected?
AM and PM labels must be Turkish characters
What is actually happening?
AM and PM labels are not changing by language
| Environment | Info |
|---|---|
| antd | 5.16.0 |
| React | 18.2.0 |
| System | 22H2 Windows11 |
| Browser | 123.0.6312.86 Google Chrome |