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/user_time.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user_time.py') diff --git a/modules/user_time.py b/modules/user_time.py index 48077d81..80090c29 100644 --- a/modules/user_time.py +++ b/modules/user_time.py @@ -52,7 +52,7 @@ class Module(ModuleManager.BaseModule): if utc_offset > 0: tz += "+" tz += "%g" % utc_offset - return "%s %s" % (utils.datetime.datetime_human(dt), tz) + return "%s %s" % (utils.datetime.format.datetime_human(dt), tz) @utils.hook("received.command.time") @utils.kwarg("help", "Get the time for you or someone else") -- cgit v1.3.1-10-gc9f91