more removing of date.today and replacing with timezone.now
This commit is contained in:
@@ -621,7 +621,7 @@ def is_session_complete_ws(ws,ps):
|
||||
ws = ws.order_by("date")
|
||||
if ws.count()==0:
|
||||
today = timezone.now()
|
||||
if today > ps.enddate:
|
||||
if today.date() > ps.enddate:
|
||||
verdict = 'missed'
|
||||
ratio = 0
|
||||
return ratio,verdict,None
|
||||
|
||||
Reference in New Issue
Block a user