From d0d5cc4d0866d44eed652221940035d855296253 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 30 Jan 2020 21:12:31 +0000 Subject: split utils.datetime out in to .parse and .format --- 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 703007ef..75fe3f64 100644 --- a/modules/words.py +++ b/modules/words.py @@ -81,8 +81,8 @@ class Module(ModuleManager.BaseModule): since = "" first_words = target.get_setting("first-words", None) if not first_words == None: - since = " since %s" % utils.datetime.date_human( - utils.datetime.datetime_timestamp(first_words)) + since = " since %s" % utils.datetime.format.date_human( + utils.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