- fixed bad age message in .cset

Mon, 10 Nov 2014 17:49:20 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Mon, 10 Nov 2014 17:49:20 +0200
changeset 82
c6e853703ca8
parent 81
ce5d27463356
child 83
3dab1fd47d51

- fixed bad age message in .cset

mod_hgpoll.py file | annotate | diff | comparison | revisions
--- 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