Code

make future intervals obvious too
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Fri, 7 Feb 2003 02:33:34 +0000 (02:33 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Fri, 7 Feb 2003 02:33:34 +0000 (02:33 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1491 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/date.py

index 7073238f66424fa2a0db85c34117f806409640ce..fb4574f0a9fdd3af70fcd2107a52c47422a876b8 100644 (file)
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: date.py,v 1.41 2003-02-07 01:01:25 richard Exp $
+# $Id: date.py,v 1.42 2003-02-07 02:33:34 richard Exp $
 
 __doc__ = """
 Date, time and time interval handling.
@@ -463,6 +463,8 @@ class Interval:
             s = _('%(number)s/4 hour')%{'number': int(self.minute/15)}
         if self.sign < 0: 
             s = s + _(' ago')
+        else:
+            s = _('in') + s
         return s
 
     def get_tuple(self):