Skip to content

Commit dbbde04

Browse files
author
Richard Jones
committed
make future intervals obvious too
1 parent b6081ad commit dbbde04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

roundup/date.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: date.py,v 1.41 2003-02-07 01:01:25 richard Exp $
18+
# $Id: date.py,v 1.42 2003-02-07 02:33:34 richard Exp $
1919

2020
__doc__ = """
2121
Date, time and time interval handling.
@@ -463,6 +463,8 @@ def pretty(self):
463463
s = _('%(number)s/4 hour')%{'number': int(self.minute/15)}
464464
if self.sign < 0:
465465
s = s + _(' ago')
466+
else:
467+
s = _('in') + s
466468
return s
467469

468470
def get_tuple(self):

0 commit comments

Comments
 (0)