We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99a616d commit 317545aCopy full SHA for 317545a
app/code/Magento/Ui/view/base/web/js/lib/validation/rules.js
@@ -224,7 +224,7 @@ define([
224
],
225
'time12h': [
226
function (value) {
227
- return utils.isEmpty(value) || /^((0?[1-9]|1[012])(:[0-5]\d){0,2}(\ [AP]M))$/i.test(value);
+ return utils.isEmpty(value) || /^((0?[1-9]|1[012])(:[0-5]\d){0,2}(\s[AP]M))$/i.test(value);
228
},
229
$.mage.__('Please enter a valid time, between 00:00 am and 12:00 pm')
230
0 commit comments