time-picker icon indicating copy to clipboard operation
time-picker copied to clipboard

Show 12am -> 11pm in hour picker when use12Hours is true

Open tzusman opened this issue 7 years ago • 0 comments

When use12Hours is true, it shows the following:

image

It would be more natural for 12 hour readers if it looked like the following and the hour selector went from 12am to 11pm.

image

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.

tzusman avatar Jan 16 '18 04:01 tzusman