diff options
| author | 2020-01-30 21:12:31 +0000 | |
|---|---|---|
| committer | 2020-01-30 21:20:56 +0000 | |
| commit | d0d5cc4d0866d44eed652221940035d855296253 (patch) | |
| tree | 1683eb3aaf56b457835fb0229379530a7013280d /modules/words.py | |
| parent | replace "/" in channel logfile names with "," (diff) | |
| signature | ||
split utils.datetime out in to .parse and .format
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 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)) |
