From 9de95d17e5ec1d9ed6613ef1a76ced2ae16498fa Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 3 Nov 2019 12:50:47 +0000 Subject: how many times can i typo "utc" --- modules/user_time.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/user_time.py b/modules/user_time.py index 7030ee4a..cdf0f44f 100644 --- a/modules/user_time.py +++ b/modules/user_time.py @@ -53,8 +53,8 @@ class Module(ModuleManager.BaseModule): dt = datetime.datetime.now(tz=pytz.timezone(timezone)) utc_offset = (dt.utcoffset().total_seconds()/60)/60 tz = "UTC" - if not utf_offset == 0.0: - if urc_offset > 0: + if not utc_offset == 0.0: + if utc_offset > 0: tz += "+" tz += "%g" % utc_offset human = utils.datetime_human(dt) -- cgit v1.3.1-10-gc9f91