react-component / time-picker

React TimePicker
http://react-component.github.io/time-picker/
MIT License
477 stars 201 forks source link

Disabling 12 (time) hour will disable "1" & "2" also #227

Open apuatcfbd opened 3 years ago

apuatcfbd commented 3 years ago

Reproduce:

  1. Use 12 hour format
  2. use (moment) format h:mm a
  3. disabledHours= '12' (array is not disabling hours)

Then seeing 1, 2 & 12 are disabled