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/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/messages.py') diff --git a/modules/messages.py b/modules/messages.py index 246d08b0..f6c37530 100644 --- a/modules/messages.py +++ b/modules/messages.py @@ -16,7 +16,7 @@ class Module(ModuleManager.BaseModule): for i, message in enumerate(message_list): seconds = utils.datetime.seconds_since(message.line.timestamp) messages.append("(%d/%d) %s ago %s" % (i+1, message_count, - utils.datetime.to_pretty_time(seconds), + utils.datetime.format.to_pretty_time(seconds), message.line.format())) event["stdout"].write("%s: found: %s" -- cgit v1.3.1-10-gc9f91