From 896648607eb651ec4b43b8db261d11d88d51ac41 Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 7 Feb 2003 02:33:34 +0000 Subject: [PATCH] make future intervals obvious too git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1491 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/date.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roundup/date.py b/roundup/date.py index 7073238..fb4574f 100644 --- a/roundup/date.py +++ b/roundup/date.py @@ -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): -- 2.30.2