@fluxhub/fluxhub-lib 10.0.465 → 10.0.466

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.
@@ -3568,7 +3568,7 @@
3568
3568
  if (this.m > 59) {
3569
3569
  this.m = 59;
3570
3570
  }
3571
- this.m = parseInt('' + (this.m / this.step)) * this.step;
3571
+ this.m = parseInt('' + Math.round(this.m / this.step)) * this.step;
3572
3572
  this.sc();
3573
3573
  };
3574
3574
  FHTimePickerComponent.prototype.onKeyDown = function (event) {
@@ -3625,7 +3625,7 @@
3625
3625
  }
3626
3626
  var a = desc_val.split(":");
3627
3627
  this.h = parseInt(a[0]);
3628
- this.m = parseInt('' + (parseInt(a[1]) / this.step)) * this.step;
3628
+ this.m = Math.round(parseInt(a[1]) / this.step) * this.step;
3629
3629
  if (desc_val.length != 5) {
3630
3630
  this.onChange(this.getValue());
3631
3631
  }