      # **** starting logic ****
  
      # Ensure date/time are valid
      now = datetime.datetime.utcnow()
      startup_conditions["time_valid"] = (now.year > 2020) or (now.year == 2020 and now.month >= 10)
      set_offroad_alert_if_changed("Offroad_InvalidTime", (not startup_conditions["time_valid"]))
  
      startup_conditions["up_to_date"] = params.get("Offroad_ConnectivityNeeded") is None or params.get_bool("DisableUpdates") or params.get_bool("SnoozeUpdate")
      startup_conditions["not_uninstalling"] = not params.get_bool("DoUninstall")
      startup_conditions["accepted_terms"] = params.get("HasAcceptedTerms") == terms_version
 
</s> remove   return (year > 2021) || (year == 2021 && month >= 6);
 </s> add   return (year > 2023) || (year == 2023 && month >= 6); </s> remove MIN_DATE = datetime.datetime(year=2023, month=4, day=1)
 </s> add from common.time import MIN_DATE
    startup_conditions["time_valid"] = now > MIN_DATE
      # **** starting logic ****
  
      # Ensure date/time are valid
      now = datetime.datetime.utcnow()
    startup_conditions["time_valid"] = now > MIN_DATE
      set_offroad_alert_if_changed("Offroad_InvalidTime", (not startup_conditions["time_valid"]))
  
      startup_conditions["up_to_date"] = params.get("Offroad_ConnectivityNeeded") is None or params.get_bool("DisableUpdates") or params.get_bool("SnoozeUpdate")
      startup_conditions["not_uninstalling"] = not params.get_bool("DoUninstall")
      startup_conditions["accepted_terms"] = params.get("HasAcceptedTerms") == terms_version
keep keep keep keep replace keep keep keep keep keep
 thermald: common min date (#28457)

* thermald: common min date

* add to release files 
selfdrive/thermald/thermald.py