From d3105ebefcb54f5c2e924a3eb43ce265cd7fca10 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 30 Dec 2019 17:19:08 +0000 Subject: fix !time output now that `human` has tz in it --- modules/user_time.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/user_time.py b/modules/user_time.py index 3be0f651..48077d81 100644 --- a/modules/user_time.py +++ b/modules/user_time.py @@ -63,13 +63,13 @@ class Module(ModuleManager.BaseModule): type, name, timezone = self._find_setting(event) if not timezone == None: - human = self._timezoned_now(datetime.datetime.now(), timezone) + human = self._timezoned(datetime.datetime.now(), timezone) out = None if type == LocationType.USER: - out = "Time for %s: %s %s" % (name, human, tz) + out = "Time for %s: %s" % (name, human) else: - out = "It is %s in %s %s" % (human, name, tz) + out = "It is %s in %s" % (human, name) event["stdout"].write(out) else: out = None -- cgit v1.3.1-10-gc9f91