Logo
Explore Help
Register Sign In
sadmen
/
dragonpilot
mirror of https://github.com/dragonpilot-community/dragonpilot.git
1
0
Fork
You've already forked dragonpilot
0
Code Issues 6 Packages Projects Releases Wiki Activity
dragonpilot - 基於 openpilot 的開源駕駛輔助系統
11893 Commits
42 Branches
64 Tags
7.0 GiB
Tree: a5fa419fbd
dragonpilot/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
2 years ago
return datetime.datetime.now() > MIN_DATE
Powered by Gitea Version: 1.17.1 Page: 63ms Template : 2ms
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