From 9a341cd7932a3d265f81defa225b0272de0c479b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 9 Oct 2020 13:25:24 +0100 Subject: [PATCH] utc --- posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posts.py b/posts.py index 75282a23..a23012e8 100644 --- a/posts.py +++ b/posts.py @@ -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?