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 18:23:56 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
1e3bb5be7ec3cd00a2ff8c8a7bc02b8efbf1cddc
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
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>
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: 37ms Template: 3ms
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