From d0379137609f3596fc8c09fc939f1ab514e85524 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Thu, 2 Aug 2012 00:01:34 -0400 Subject: [PATCH] Typo fix. --- earwigbot/tasks/drn_clerkbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/tasks/drn_clerkbot.py b/earwigbot/tasks/drn_clerkbot.py index 9850fe6..c00d365 100644 --- a/earwigbot/tasks/drn_clerkbot.py +++ b/earwigbot/tasks/drn_clerkbot.py @@ -713,7 +713,7 @@ class DRNClerkBot(Task): row = "{{" + self.tl_chart_row + data.format(**case) return row + "|sm={{{small|}}}}}\n" - def format_time_since(self, dt): + def format_time(self, dt): """Return a string telling the time since datetime occured.""" parts = [("year", 31536000), ("day", 86400), ("hour", 3600)] seconds = int((datetime.utcnow() - dt).total_seconds())