aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-11-03 12:50:47 +0000
committerGravatar jesopo2019-11-03 12:50:47 +0000
commit9de95d17e5ec1d9ed6613ef1a76ced2ae16498fa (patch)
treead7ad526590ad992a6ac896918ffa009dc4097ed /modules
parent"GMT" -> "UTC" (diff)
signature
how many times can i typo "utc"
Diffstat (limited to 'modules')
-rw-r--r--modules/user_time.py4
1 files 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)