atr-components 3.0.20 → 3.0.21

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.
@@ -3540,9 +3540,8 @@ class AtrTableComponent {
3540
3540
  else if (this.getHederType(key) == "dayRange") {
3541
3541
  let begin = key + "Begin";
3542
3542
  let end = key + "End";
3543
- let formate = 'yyyy-MM-dd 00:00:00';
3544
- params[begin] = formatDate(this.atrForm.value[key][0], formate, this.locale);
3545
- params[end] = formatDate(this.atrForm.value[key][1], formate, this.locale);
3543
+ params[begin] = formatDate(this.atrForm.value[key][0], 'yyyy-MM-dd 00:00:00', this.locale);
3544
+ params[end] = formatDate(this.atrForm.value[key][1], 'yyyy-MM-dd 23:59:59', this.locale);
3546
3545
  }
3547
3546
  else if (this.getHederType(key) == "sdate") {
3548
3547
  params[key] = formatDate(this.atrForm.value[key], 'yyyy-MM-dd 00:00:00', this.locale);