@bbn/bbn 2.0.123 → 2.0.124
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
|
@@ -539,10 +539,6 @@ export default function parse(input, format, cls = 'auto', force, locale) {
|
|
|
539
539
|
i += 1;
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
if (!ctx.month && (fmt === "YYYY-MM-DD HH:mm:ss")) {
|
|
543
|
-
bbn.fn.log(i);
|
|
544
|
-
debugger;
|
|
545
|
-
}
|
|
546
542
|
const fullRegex = new RegExp('^' + pattern + '$');
|
|
547
543
|
let match = fullRegex.exec(input);
|
|
548
544
|
if (!match) {
|
|
@@ -562,6 +558,10 @@ export default function parse(input, format, cls = 'auto', force, locale) {
|
|
|
562
558
|
if (value != null && apply) {
|
|
563
559
|
apply(value);
|
|
564
560
|
}
|
|
561
|
+
if (!ctx.month && (fmt === "YYYY-MM-DD HH:mm:ss")) {
|
|
562
|
+
bbn.fn.log(i);
|
|
563
|
+
debugger;
|
|
564
|
+
}
|
|
565
565
|
}
|
|
566
566
|
// ---- NEW: convert 12h + AM/PM to 24h ----
|
|
567
567
|
if (ctx.uses12Hour) {
|