From 5d01db8514f9b06d2e478c0d86ffafe137093d5b Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 15 Nov 2019 13:59:09 +0000 Subject: move all datetime-related code from utils/__init__ to utils.datetime --- modules/words.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/words.py') diff --git a/modules/words.py b/modules/words.py index 520f05fc..c76fb3dc 100644 --- a/modules/words.py +++ b/modules/words.py @@ -79,8 +79,8 @@ class Module(ModuleManager.BaseModule): since = "" first_words = target.get_setting("first-words", None) if not first_words == None: - since = " since %s" % utils.date_human( - utils.datetime_timestamp(first_words)) + since = " since %s" % utils.datetime.date_human( + utils.datetime.datetime_timestamp(first_words)) event["stdout"].write("%s has used %d words (%d in %s)%s" % ( target.nickname, total, this_channel, event["target"].name, since)) -- cgit v1.3.1-10-gc9f91