Bob Mottram 2020-10-09 13:25:24 +01:00
parent 947a13fba2
commit 9a341cd793
1 changed files with 1 additions and 1 deletions

View File

@ -2927,7 +2927,7 @@ def createBoxIndexed(recentPostsCache: {},
locateNewsArrival(baseDir, domain, postFilename)
if arrivalDate:
# how long has elapsed since this post arrived?
currDate = datetime.datetime.now()
currDate = datetime.datetime.utcnow()
timeDiffMins = \
int((currDate - arrivalDate).total_seconds() / 60)
# has the voting time elapsed?