aboutsummaryrefslogtreecommitdiff
path: root/modules/user_time.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-11-15 13:59:09 +0000
committerGravatar jesopo2019-11-15 13:59:09 +0000
commit5d01db8514f9b06d2e478c0d86ffafe137093d5b (patch)
treedba9d73f611e804bf02b6ea7146b0a392be41939 /modules/user_time.py
parentdont 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/user_time.py')
-rw-r--r--modules/user_time.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user_time.py b/modules/user_time.py
index c384669a..19ed4b22 100644
--- a/modules/user_time.py
+++ b/modules/user_time.py
@@ -58,7 +58,7 @@ class Module(ModuleManager.BaseModule):
if utc_offset > 0:
tz += "+"
tz += "%g" % utc_offset
- human = utils.datetime_human(dt)
+ human = utils.datetime.datetime_human(dt)
out = None
if type == LocationType.USER: