aboutsummaryrefslogtreecommitdiff
path: root/modules/tweets/format.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tweets/format.py')
-rw-r--r--modules/tweets/format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tweets/format.py b/modules/tweets/format.py
index 4d64dffd..3248dc36 100644
--- a/modules/tweets/format.py
+++ b/modules/tweets/format.py
@@ -3,7 +3,7 @@ from src import utils
def _timestamp(dt):
seconds_since = time.time()-dt.timestamp()
- since, unit = utils.time_unit(seconds_since)
+ since, unit = utils.datetime.time_unit(seconds_since)
return "%s %s ago" % (since, unit)
def _normalise(tweet):