Logo
Explore Help
Register Sign In
sadmen
/
openpilot_comma
mirror of https://github.com/commaai/openpilot.git
1
0
Fork
You've already forked openpilot_comma
0
Code Issues Packages Projects Releases Wiki Activity
openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 200 supported car makes and models.
11680 Commits
36 Branches
82 Tags
6.1 GiB
Tree: 8a00b30029
openpilot_comma/common/time.py

7 lines
144 B
Raw Normal View History Unescape Escape

thermald: common min date (#28457) * thermald: common min date * add to release files
2 years ago
import datetime
update min valid time
1 year ago
MIN_DATE = datetime.datetime(year=2024, month=1, day=28)
Updated: fix setting update time (#29004) * sleep in launch * set time loop * log * try longer delay + logging * try longer delay + logging * fix order of update * fix order of update * fix order of update * revert panda * also don't show connectivity error without failed checks * slightly cleanup updated * fix type error * init overlay first * minimal diff * comment * minimal diff * minimal diff * explicit parameter to make it clear * explicit parameter to make it clear * use finally * dont use finally * PR cleanup * reduce frequency Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
def system_time_valid():
ruff: check newline (#30668) * check newline * nothing catches this
1 year ago
return datetime.datetime.now() > MIN_DATE
Powered by Gitea Version: 1.17.1 Page: 215ms Template : 5ms
English
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Website