@sumaris-net/ngx-components 2.5.11 → 2.5.12-rc1

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.
@@ -3646,7 +3646,7 @@ class SharedValidators {
3646
3646
  static validDate(control) {
3647
3647
  const value = control.value;
3648
3648
  const date = !value || isMoment(value) ? value : DateUtils.moment(value, DATE_ISO_PATTERN);
3649
- if (date && (!date.isValid() || date.year() < 1970)) {
3649
+ if (date && (!date.isValid() || date.year() < 1900)) {
3650
3650
  return { validDate: true };
3651
3651
  }
3652
3652
  return null;