changeset 1504:2c696c2326ba

use internal date/time formatting
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Sat, 26 Aug 2006 21:39:57 +0200
parents 632b4aa23c17
children c4f111e61e16
files MoinMoin/action/fullsearch.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/fullsearch.py	Sat Aug 26 21:30:25 2006 +0200
+++ b/MoinMoin/action/fullsearch.py	Sat Aug 26 21:39:57 2006 +0200
@@ -9,7 +9,6 @@
 """
 
 import re, time
-from email.Utils import formatdate
 from MoinMoin.Page import Page
 from MoinMoin import wikiutil
 from MoinMoin.support.parsedatetime.parsedatetime import Calendar
@@ -87,7 +86,7 @@
             if mtime_parsed[1] == 0 and mtime_parsed[0] <= time.localtime():
                 mtime = time.mktime(mtime_parsed[0])
                 msg = _("(!) Only pages changed since '''%s''' are being "
-                        "displayed!") % formatdate(mtime, False)
+                        "displayed!") % request.user.getFormattedDateTime(mtime)
             else:
                 msg = _('/!\\ The modification date you entered was not '
                         'recognized and is therefore not considered for the '