From: grubert Date: Thu, 10 Jan 2002 10:02:15 +0000 (+0000) Subject: In do_history: replace "." in date by " " so html wraps more sensible. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d09a03c3d3abe7ed2ca71564620638b9950f9a23;p=roundup.git In do_history: replace "." in date by " " so html wraps more sensible. Should this be done in date's string converter ? git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@527 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/htmltemplate.py b/roundup/htmltemplate.py index 28f4f40..8892dd9 100644 --- a/roundup/htmltemplate.py +++ b/roundup/htmltemplate.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: htmltemplate.py,v 1.50 2002-01-05 02:35:10 richard Exp $ +# $Id: htmltemplate.py,v 1.51 2002-01-10 10:02:15 grubert Exp $ __doc__ = """ Template engine. @@ -457,8 +457,9 @@ class TemplateFunctions: _('Args')] for id, date, user, action, args in self.cl.history(self.nodeid): + date_s = str(date).replace("."," ") l.append('%s%s%s%s'%( - date, user, action, args)) + date_s, user, action, args)) l.append('') return '\n'.join(l) @@ -885,6 +886,9 @@ class NewItemTemplate(TemplateFunctions): # # $Log: not supported by cvs2svn $ +# Revision 1.50 2002/01/05 02:35:10 richard +# I18N'ification +# # Revision 1.49 2001/12/20 15:43:01 rochecompaan # Features added: # . Multilink properties are now displayed as comma separated values in