Commit 7aaf00e2 authored by Dimitri Podborski's avatar Dimitri Podborski
Browse files

new document deadline for systems

parent 4aeaf5c2
......@@ -103,7 +103,7 @@ def is_document_late(meeting_start, v1_upload_timestamp):
meeting_start and v1_upload_timestamp shall be datetime objects
'''
meeting_start = meeting_start.replace(hour=0, minute=0, second=0) # paranoia
deadline = meeting_start - timedelta(days=4) # End of Wednesday
deadline = meeting_start - timedelta(days=7) # End of Sunday
diff = deadline - v1_upload_timestamp
if diff.total_seconds() <= 0:
return True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment