Logo
Explore Help
Register Sign In
mawei/dragonpilot
1
0
Fork 0
You've already forked dragonpilot
mirror of https://github.com/dragonpilot/dragonpilot.git synced 2026-02-28 19:23:52 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
f820b7cd94bf366c8ea2bd48a8d15ab1ccd7d2e0
dragonpilot/common/time.py

7 lines
143 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():
ruff: check newline (#30668) * check newline * nothing catches this
2023-12-09 13:24:18 -08:00
return datetime.datetime.now() > MIN_DATE
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 45ms Template: 1ms
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