@datarailsshared/datarailsshared 1.4.21-tigers → 1.4.22-tigers

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.
@@ -3810,14 +3810,14 @@
3810
3810
  });
3811
3811
  Object.defineProperty(DrDatePickerComponent.prototype, "min", {
3812
3812
  set: function (minDate) {
3813
- this._min = moment.unix(minDate);
3813
+ this._min = moment.unix(minDate).utc();
3814
3814
  },
3815
3815
  enumerable: false,
3816
3816
  configurable: true
3817
3817
  });
3818
3818
  Object.defineProperty(DrDatePickerComponent.prototype, "max", {
3819
3819
  set: function (maxDate) {
3820
- this._max = moment.unix(maxDate);
3820
+ this._max = moment.unix(maxDate).utc();
3821
3821
  },
3822
3822
  enumerable: false,
3823
3823
  configurable: true
@@ -3877,7 +3877,7 @@
3877
3877
  * Setting value from outside of component via ngModel or formControl updates
3878
3878
  */
3879
3879
  DrDatePickerComponent.prototype.writeValue = function (value) {
3880
- this.innerValue = value ? moment.unix(value) : value;
3880
+ this.innerValue = value ? moment.unix(value).utc() : value;
3881
3881
  if (this.innerValue) {
3882
3882
  this.tryToNormalaizeTimeframe();
3883
3883
  }