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-23 17:13:51 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
bcd29a2b8af7c7364040716926d5c18ccd89ca7c
dragonpilot/common/time.py

7 lines
144 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
update min valid time
2024-01-30 15:00:41 -08:00
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>
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: 50ms 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