mod_hgpoll.py

changeset 82
c6e853703ca8
parent 80
0f6bfd359a7f
child 87
9e757b602586
--- a/mod_hgpoll.py	Mon Nov 10 17:42:04 2014 +0200
+++ b/mod_hgpoll.py	Mon Nov 10 17:49:20 2014 +0200
@@ -73,7 +73,7 @@
 		author = data[2]
 		diffstat = data[3]
 		date = datetime.utcfromtimestamp (int (data[4].split (' ')[0]))
-		delta = datetime.now() - date
+		delta = datetime.utcnow() - date
 		datestring = ''
 		
 		# Find out the Zandronum version of this changeset

mercurial