summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ea0530)
raw | patch | inline | side by side (parent: 6ea0530)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 7 Feb 2003 02:33:34 +0000 (02:33 +0000) | ||
committer | richard <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 | patch | blob | history |
diff --git a/roundup/date.py b/roundup/date.py
index 7073238f66424fa2a0db85c34117f806409640ce..fb4574f0a9fdd3af70fcd2107a52c47422a876b8 100644 (file)
--- a/roundup/date.py
+++ b/roundup/date.py
# 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.
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):