@fluxhub/fluxhub-lib 1.0.363 → 1.0.364

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.
@@ -9308,10 +9308,13 @@
9308
9308
  if (arr[0].length == 1)
9309
9309
  arr[0] = "0" + arr[0];
9310
9310
  if (parseInt(arr[2]) < 3000 && parseInt(arr[0]) > 0 && parseInt(arr[0]) <= 31 && parseInt(arr[1]) > 0 && parseInt(arr[1]) <= 12) {
9311
- console.log('arr ', arr);
9312
9311
  /** @type {?} */
9313
9312
  var dtp = new MomentDateAdapter();
9314
- this.date_sel = dtp.createDate(parseInt(arr[2]), parseInt(arr[1]) - 1, parseInt(arr[0]));
9313
+ /** @type {?} */
9314
+ var yy = parseInt(arr[2]);
9315
+ if (yy < 100)
9316
+ yy += 2000;
9317
+ this.date_sel = dtp.createDate(yy, parseInt(arr[1]) - 1, parseInt(arr[0]));
9315
9318
  console.log('dare s', this.date_sel);
9316
9319
  }
9317
9320
  else