Repository: ant-design
Issue: Date Picker Not Supporting 12 Hour Format, (hh value) when entering date manually
Labels: Inactive,🧶 Low Priority

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/focused-butterfly-ns6jsd?layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clx1lkfbn0006356i4rbfxgyl%2522%252C%2522sizes%2522%253A%255B100%252C0%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clx1lkfbn0002356iowwpwmpl%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clx1lkfbn0003356i02yo3hd2%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clx1lkfbn0005356ita4wfdtw%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B49.08028357922974%252C50.91971642077026%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clx1lkfbn0002356iowwpwmpl%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clx1lkfbm0001356i5khjts8b%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fsrc%252Findex.js%2522%257D%255D%252C%2522id%2522%253A%2522clx1lkfbn0002356iowwpwmpl%2522%252C%2522activeTabId%2522%253A%2522clx1lkfbm0001356i5khjts8b%2522%257D%252C%2522clx1lkfbn0005356ita4wfdtw%2522%253A%257B%2522id%2522%253A%2522clx1lkfbn0005356ita4wfdtw%2522%252C%2522activeTabId%2522%253A%2522clx1lwd52005w356iwpxagsk0%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clx1lkfbn0004356iw0tr4aqa%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522UNASSIGNED_PORT%2522%252C%2522port%2522%253A0%252C%2522path%2522%253A%2522%252F%2522%257D%252C%257B%2522type%2522%253A%2522SANDBOX_INFO%2522%252C%2522id%2522%253A%2522clx1lwd52005w356iwpxagsk0%2522%252C%2522mode%2522%253A%2522permanent%2522%257D%255D%257D%252C%2522clx1lkfbn0003356i02yo3hd2%2522%253A%257B%2522tabs%2522%253A%255B%255D%252C%2522id%2522%253A%2522clx1lkfbn0003356i02yo3hd2%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Afalse%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D)

### Steps to reproduce

Choose the date format in the selector to hh:mm a and try to enter the date manually, when we try to enter the hour in time then the focus does not appear on the "hh" field mask.

### What is expected?

It should accept the 12-hour format, and hour values while entering the date time manually in the field.

### What is actually happening?

It is not accepting the hour values when we pass the prop use12Hours true and the format of hh:mm a

| Environment | Info |
| --- | --- |
| antd | 5.16.5 |
| React | 18.2.0 |
| System | Windows |
| Browser | Chrome |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->