mirror of
https://github.com/FAUSheppy/ths-datenlogger
synced 2025-12-06 20:21:35 +01:00
fixed windows related problems
This commit is contained in:
committed by
atlantispc_sheppy
parent
585a2ea40c
commit
a4a259fefc
@@ -3,7 +3,10 @@ from config_parse import CFG
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
def between_dates(t,date1,date2):
|
||||
return t if (date1 == None or date1 < t) and (date2 == None or date2 > t) else None
|
||||
if (date1 == None or date1 <= t) and (date2 == None or date2 > t):
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
def time_from_dbf(l,timeformat):
|
||||
timeformat=None #dont need that here
|
||||
|
||||
Reference in New Issue
Block a user