@bbn/bbn 2.0.118 → 2.0.119
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.map +1 -1
- package/dist/dt/functions/parse.js +3 -0
- package/package.json +1 -1
|
@@ -535,6 +535,9 @@ export default function parse(input, format, cls = 'auto', force, locale) {
|
|
|
535
535
|
input = inputDate.format(fmt);
|
|
536
536
|
isValid = false;
|
|
537
537
|
match = fullRegex.exec(input);
|
|
538
|
+
if (!match) {
|
|
539
|
+
debugger;
|
|
540
|
+
}
|
|
538
541
|
}
|
|
539
542
|
else {
|
|
540
543
|
throw new Error(`Date string "${input}" does not match format "${fmt}"`);
|