@bbn/bbn 2.0.122 → 2.0.123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bbn.js +1 -1
- package/dist/bbn.js.map +1 -1
- package/dist/dt/functions/parse.js +4 -4
- package/package.json +1 -1
|
@@ -538,10 +538,10 @@ export default function parse(input, format, cls = 'auto', force, locale) {
|
|
|
538
538
|
pattern += escapeRegex(fmt[i]);
|
|
539
539
|
i += 1;
|
|
540
540
|
}
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
541
|
+
}
|
|
542
|
+
if (!ctx.month && (fmt === "YYYY-MM-DD HH:mm:ss")) {
|
|
543
|
+
bbn.fn.log(i);
|
|
544
|
+
debugger;
|
|
545
545
|
}
|
|
546
546
|
const fullRegex = new RegExp('^' + pattern + '$');
|
|
547
547
|
let match = fullRegex.exec(input);
|