@skyux/datetime 6.6.0 → 6.9.0

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.
@@ -2882,6 +2882,10 @@ class SkyDatepickerInputDirective {
2882
2882
  validate(control) {
2883
2883
  if (!this.control) {
2884
2884
  this.control = control;
2885
+ // Account for any date conversion that may have occurred prior to validation.
2886
+ if (this.control.value !== this.value) {
2887
+ this.control.patchValue(this.value, { emitEvent: false });
2888
+ }
2885
2889
  }
2886
2890
  if (this.skyDatepickerNoValidate) {
2887
2891
  return;