diff options
| author | 2019-11-15 13:59:09 +0000 | |
|---|---|---|
| committer | 2019-11-15 13:59:09 +0000 | |
| commit | 5d01db8514f9b06d2e478c0d86ffafe137093d5b (patch) | |
| tree | dba9d73f611e804bf02b6ea7146b0a392be41939 /modules/words.py | |
| parent | dont expose has_magic/get_magic in utils/__init__.py, ref directly (diff) | |
| signature | ||
move all datetime-related code from utils/__init__ to utils.datetime
Diffstat (limited to 'modules/words.py')
| -rw-r--r-- | modules/words.py | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |
