Logo
Explore Help
Register Sign In
mawei/sunnypilot
1
0
Fork 0
You've already forked sunnypilot
mirror of https://github.com/sunnypilot/sunnypilot.git synced 2026-02-20 12:33:55 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
e11869d4c94de26ec3b54aa8623b3f7aaa0ab5bc
sunnypilot/common/time.py

6 lines
142 B
Python
Raw Normal View History

thermald: common min date (#28457) * thermald: common min date * add to release files old-commit-hash: d96361970b32a76422dc1acc7a78e5bdd55a4bed
2023-06-12 13:50:38 -07:00
import datetime
MIN_DATE = datetime.datetime(year=2023, month=6, day=1)
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> old-commit-hash: ce2708fa67e9f2b7117e710054e25ed631fa1816
2023-07-18 21:26:05 -07:00
def system_time_valid():
return datetime.datetime.now() > MIN_DATE
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 43ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API