RobinHerbots/jquery.inputmask — Issue #19: Add definitions for hour and minutes
Author: hansfn
Created: 2012-01-04 08:59:30+00:00
State: open

Hi, I use this plugin in many of my projects, but I find myself adding definitions for hour and minutes every time. Could you please consider adding:

'i': { //minute
"validator": "[0-5][0-9]",
"cardinality": 2,
"prevalidator": [{ "validator": "[0-5]", "cardinality": 1}]
},
'H': { //hour
"validator": "[01][0-9]|2[0-3]",
"cardinality": 2,
"prevalidator": [{ "validator": "[0-2]", "cardinality": 1}]
},