diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-02-17 19:29:57 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2011-02-17 19:29:57 +0100 |
commit | 47a5d0e9292fdc5a3803e176c30ab8f42726d61f (patch) | |
tree | 17d405e0e4e03df1f5484eabd9ee3bc5b7d617c8 | |
parent | 0ddc28e3eb4d6c7f6aad82ccc86f6f46497e545d (diff) | |
download | wikinfo-47a5d0e9292fdc5a3803e176c30ab8f42726d61f.tar.gz wikinfo-47a5d0e9292fdc5a3803e176c30ab8f42726d61f.tar.xz wikinfo-47a5d0e9292fdc5a3803e176c30ab8f42726d61f.zip |
trac-0.12 changed timestamp to microseconds since epoch
-rw-r--r-- | wikinfo/wikinfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
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()
|