We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6081ad commit dbbde04Copy full SHA for dbbde04
roundup/date.py
@@ -15,7 +15,7 @@
15
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17
#
18
-# $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 $
19
20
__doc__ = """
21
Date, time and time interval handling.
@@ -463,6 +463,8 @@ def pretty(self):
463
s = _('%(number)s/4 hour')%{'number': int(self.minute/15)}
464
if self.sign < 0:
465
s = s + _(' ago')
466
+ else:
467
+ s = _('in') + s
468
return s
469
470
def get_tuple(self):
0 commit comments