diff roundup/htmltemplate.py @ 515:59e721a72a30

In do_history: replace "." in date by " " so html wraps more sensible. Should this be done in date's string converter ?
author Engelbert Gruber <grubert@users.sourceforge.net>
date Thu, 10 Jan 2002 10:02:15 +0000
parents ab9e236cd524
children dce4c75bef5a
line wrap: on
line diff
--- a/roundup/htmltemplate.py	Thu Jan 10 06:42:38 2002 +0000
+++ b/roundup/htmltemplate.py	Thu Jan 10 10:02:15 2002 +0000
@@ -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 @@
             _('<td><span class="list-item"><strong>Args</strong></span></td>')]
 
         for id, date, user, action, args in self.cl.history(self.nodeid):
+            date_s = str(date).replace("."," ")
             l.append('<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>'%(
-               date, user, action, args))
+               date_s, user, action, args))
         l.append('</table>')
         return '\n'.join(l)
 
@@ -885,6 +886,9 @@
 
 #
 # $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

Roundup Issue Tracker: http://roundup-tracker.org/