time-picker
time-picker copied to clipboard
Show 12am -> 11pm in hour picker when use12Hours is true
When use12Hours
is true, it shows the following:
It would be more natural for 12 hour readers if it looked like the following and the hour selector went from 12am
to 11pm
.
My suggestion would be to piggy back on the showHour
prop and if it's a string, use that format to display the 3 am
. With this, a developer could remove the use12Hours
prop and it would do exactly what I showed in the second screenshot.