picker icon indicating copy to clipboard operation
picker copied to clipboard

disabledMinutes should receive parameter hour from 0 to 23 rather than 0 to 12 if use12Hours is true

Open acrazing opened this issue 5 years ago • 0 comments

The hour is clamped at https://github.com/react-component/picker/blob/e7afcbefd5be185e644a866acec93e0fa6799b46/src/panels/TimePanel/TimeBody.tsx#L116 before get disabledMinutes at https://github.com/react-component/picker/blob/e7afcbefd5be185e644a866acec93e0fa6799b46/src/panels/TimePanel/TimeBody.tsx#L150.

acrazing avatar Sep 27 '20 09:09 acrazing