ant-design/ant-design

TimePicker Popup use12Hours AM and PM labels are not covered by internationalization

Open

#48,235 创建于 2024年4月2日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)TypeScript (98,031 star) (54,612 fork)batch import
Inactivehelp wantedunconfirmed

描述

Reproduction link

Edit on CodeSandbox

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

贡献者指南