mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-02 19:26:44 +00:00
undo a wording change
This commit is contained in:
parent
0af033beb7
commit
15e33f8b35
@ -33,7 +33,7 @@ class Abbreviate(unittest.TestCase):
|
||||
def test_abbrev_time_future_5_minutes(self):
|
||||
diff = timedelta(minutes=-5)
|
||||
s = abbreviate.abbreviate_time(diff)
|
||||
self.assertEqual('5 minutes from now', s)
|
||||
self.assertEqual('5 minutes in the future', s)
|
||||
|
||||
def test_abbrev_time_hours(self):
|
||||
diff = timedelta(hours=4)
|
||||
|
@ -40,7 +40,7 @@ def abbreviate_time(s):
|
||||
if s >= 0.0:
|
||||
postfix = ' ago'
|
||||
else:
|
||||
postfix = ' from now'
|
||||
postfix = ' in the future'
|
||||
s = -s
|
||||
def _plural(count, unit):
|
||||
count = int(count)
|
||||
|
Loading…
Reference in New Issue
Block a user