cleave.js
cleave.js copied to clipboard
TimeFormatter allows incorrect minimum value in 12-hour time format
Problem: When using the time formatter in 12-hour time format, it incorrectly allows a minimum value of "00:" for hours. The minimum should be restricted to "01" when in 12-hour time format and "00" in 24-hour time format.
To reproduce the error or describe your requirement with a jsfiddle url would be appreciated: https://jsfiddle.net/dmba358p/
- Typing "00" into the follow jsfiddle shows the current behaviour.