aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tools
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/tools')
-rw-r--r--mediagoblin/tools/timesince.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/mediagoblin/tools/timesince.py b/mediagoblin/tools/timesince.py
index feea3303..b761c1be 100644
--- a/mediagoblin/tools/timesince.py
+++ b/mediagoblin/tools/timesince.py
@@ -93,10 +93,3 @@ def timesince(d, now=None, reversed=False):
if count2 != 0:
s += pass_to_ugettext(', %(number)d %(type)s') % {'number': count2, 'type': name2(count2)}
return s
-
-def timeuntil(d, now=None):
- """
- Like timesince, but returns a string measuring the time until
- the given time.
- """
- return timesince(d, now, reversed=True)