|
|
@@ -218,9 +218,9 @@
|
|
|
//localize
|
|
|
formatCode.S = opts.i18n.ordinalSuffix.join("|");
|
|
|
|
|
|
- opts.inputFormat = formatAlias[opts.inputFormat] || opts.inputFormat; //resolve possible formatAkias
|
|
|
- opts.displayFormat = formatAlias[opts.displayFormat] || opts.displayFormat || opts.inputFormat; //resolve possible formatAkias
|
|
|
- opts.outputFormat = formatAlias[opts.outputFormat] || opts.outputFormat || opts.inputFormat; //resolve possible formatAkias
|
|
|
+ opts.inputFormat = formatAlias[opts.inputFormat] || opts.inputFormat; //resolve possible formatAlias
|
|
|
+ opts.displayFormat = formatAlias[opts.displayFormat] || opts.displayFormat || opts.inputFormat; //resolve possible formatAlias
|
|
|
+ opts.outputFormat = formatAlias[opts.outputFormat] || opts.outputFormat || opts.inputFormat; //resolve possible formatAlias
|
|
|
opts.placeholder = opts.placeholder !== "" ? opts.placeholder : opts.inputFormat.replace(/[\[\]]/, "");
|
|
|
opts.regex = parse(opts.inputFormat, undefined, opts);
|
|
|
// console.log(opts.regex);
|
|
|
@@ -299,4 +299,4 @@
|
|
|
return Inputmask;
|
|
|
}
|
|
|
))
|
|
|
-;
|
|
|
+;
|