ps-toolkit-ui 1.12.38 → 1.12.40

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.
@@ -4024,7 +4024,7 @@
4024
4024
  else {
4025
4025
  this.active = v;
4026
4026
  }
4027
- this.inp.value = this.active.format(this.inp.type === exports.InputType.Month ? 'jMMMM jYYYY' : 'jYYYY/jMM/jDD');
4027
+ this.inp.value = this.active.format('jYYYY/jMM/jDD');
4028
4028
  this.inp.search = this.active.format(this.inp.type === exports.InputType.Month ? 'jMMMM jYYYY' : 'jYYYY/jMM/jDD');
4029
4029
  this.setDate();
4030
4030
  };
@@ -4178,7 +4178,7 @@
4178
4178
  }
4179
4179
  };
4180
4180
  FormDateComponent.prototype.setValue = function (y, m, d) {
4181
- this.inp.value = this.inp.type === exports.InputType.Month ? this.months[m - 1] + ' ' + y : y + '/' + (m > 9 ? m : '0' + m) + '/' + (d > 9 ? d : '0' + d);
4181
+ this.inp.value = y + '/' + (m > 9 ? m : '0' + m) + '/' + (d > 9 ? d : '0' + d);
4182
4182
  this.inp.search = this.inp.type === exports.InputType.Month ? this.months[m - 1] + ' ' + y : y + '/' + (m > 9 ? m : '0' + m) + '/' + (d > 9 ? d : '0' + d);
4183
4183
  };
4184
4184
  FormDateComponent.prototype.changeState = function (s) {