ps-toolkit-ui 1.14.33 → 1.14.34

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.
@@ -4209,9 +4209,9 @@
4209
4209
  };
4210
4210
  FormDateComponent.prototype.isActive = function (m, d) {
4211
4211
  var _a, _b;
4212
- var month = parseInt(m.format('jMM'), 10);
4213
- var year = parseInt(m.format('jYYYY'), 10);
4214
- var date = moment__namespace(year + '/' + month + '/' + d, 'jYYYY/jMM/jDD');
4212
+ var month = m.format('jMM');
4213
+ var year = m.format('jYYYY');
4214
+ var date = moment__namespace(year.slice(-4) + '/' + month.slice(-2) + '/' + d.toString().slice(-2), 'jYYYY/jMM/jDD');
4215
4215
  var start = (_a = this.inp.allowed.start) !== null && _a !== void 0 ? _a : null;
4216
4216
  var end = (_b = this.inp.allowed.end) !== null && _b !== void 0 ? _b : null;
4217
4217
  console.log(date, start, end);