changeset 4553:4ac5fb2ab146

fix: Xapian index idx.mtime() gives a normal unix timestamp, no need to scale
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 05 Feb 2009 04:31:23 +0100
parents 28989b637a70
children 1777b6d3674a
files MoinMoin/macro/SystemInfo.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/SystemInfo.py	Wed Feb 04 12:47:52 2009 +0100
+++ b/MoinMoin/macro/SystemInfo.py	Thu Feb 05 04:31:23 2009 +0100
@@ -145,9 +145,7 @@
             idx = Search._xapianIndex(request)
             available = idx and idxState[0] or idxState[1]
             mtime = _('last modified: %s') % (idx and
-                request.user.getFormattedDateTime(
-                    wikiutil.version2timestamp(idx.mtime())) or
-                    _('N/A'))
+                request.user.getFormattedDateTime(idx.mtime()) or _('N/A'))
             xapRow += ', %s, %s' % (available, mtime)
 
         row(_('Xapian search'), xapRow)