From 47a5d0e9292fdc5a3803e176c30ab8f42726d61f Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 17 Feb 2011 19:29:57 +0100 Subject: trac-0.12 changed timestamp to microseconds since epoch --- wikinfo/wikinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wikinfo/wikinfo.py b/wikinfo/wikinfo.py index 7e9dcc7..21314b0 100644 --- a/wikinfo/wikinfo.py +++ b/wikinfo/wikinfo.py @@ -115,7 +115,7 @@ class WikinfoMacro(Component): row = cursor.fetchone() - buf.write(time.strftime('%x', time.localtime(row[0]))) + buf.write(time.strftime('%x', time.localtime(row[0]/1000000))) def _do_comment(self, page, name, content, buf): db = self.env.get_db_cnx() -- cgit v1.2.3