@sumaris-net/ngx-components 1.15.1 → 1.15.2

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.
@@ -5585,7 +5585,8 @@
5585
5585
  var date = dayStr && this.dateAdapter.parse(dayStr, this.dayPattern);
5586
5586
  // Move to the expected TZ (keeping local hour - e.g. midnight)
5587
5587
  date = date && (this.timezone ? date.tz(this.timezone, true) : date);
5588
- date = date === null || date === void 0 ? void 0 : date.startOf('day').utc(); // Convert local date into utc (avoid TZ offset to be in the final string)
5588
+ date = date && date.startOf('day') // Reset hrou
5589
+ .utc(); // Convert local date into utc (avoid TZ offset to be in the final string)
5589
5590
  // Set model value
5590
5591
  this.emitChange(date);
5591
5592
  this._writing = false;