Roundup Tracker - Issues

Issue 724626

classification
date.Date.pretty misformat for future dates
Type: Severity: normal
Components: None Versions:
process
Status: closed fixed
:
: : rouilj
Priority: normal :

Created on 2003-04-20 15:52 by rouilj, last changed 2003-04-20 15:52 by rouilj.

Messages
msg758 Author: [hidden] (rouilj) Date: 2003-04-20 15:52
When I call date.py's Date.pretty(), I get "in1 month" rather then "in 
1 month". The fix it to add a space between
the in literal and the 
string. Here is the patch:

--- /tmp/date.py.orig   2003-04-20 
11:47:12.000000000 -0400
+++ 
/tools/roundup/lib/python2.2/site-packages/roundup/date.py  
2003-04-20 11:49:55.000000000 -0400
@@ -576,7 +576,7 
@@
         if self.sign < 0: 
             s = s + _(' ago')
         else:
-            s = _('in') + 
s
+            s = _('in') + ' ' + s
         return s
 
     def get_tuple(self):
History
Date User Action Args
2003-04-20 15:52:21rouiljcreate