react-time-range-slider icon indicating copy to clipboard operation
react-time-range-slider copied to clipboard

Leading zeros are not added to hours/minutes

Open borisbsu opened this issue 5 years ago • 0 comments

In the following line hours/minutes are numeric, so the calling hours.length will return undefined value. Thus leading zero are not added.

https://github.com/ashvin27/react-time-range-slider/blob/ce760a261a505ff49dc69dbb0f7d82b95a8922d7/src/index.js#L26

borisbsu avatar Jan 28 '20 13:01 borisbsu