Time dropdown AM/PM does not respect timeFormat or dateFormat
Describe the bug
When specifying a timeFormat or dateFormat such as h:mm a, the time selection dropdown does not respect this formatting and displays "AM/PM" as capitals instead of "am/pm" lowercase.
To Reproduce Steps to reproduce the behavior:
- Duplicate the "Select time only" example: example-select-time-only
- Set
dateFormatash:mm a - Notice that in the time selection dropdown the "AM/PM" part renders in capitals when it should render as lowercase "am/pm"
Expected behavior
When specifying a timeFormat or dateFormat with single a for "AM/PM" such as h:mm a, the time selection dropdown should respect this formatting as display "am/pm" as lowercase.
Screenshots

Desktop (please complete the following information):
- OS: macos v10.15.7
- Browser chrome
- Version 102
+1
I'm not sure what this uses for the format strings. The documentation is sparse. But this seems to provide a lower-case a.m. and p.m (with the default locale):
timeFormat="h:mm aaaa"
I'm not sure what this uses for the format strings. The documentation is sparse. But this seems to provide a lower-case
a.m.andp.m(with the default locale):timeFormat="h:mm aaaa"
Legend thank you! This is exactly what I was after ("aaa" worked to make "am/pm")