From 352f6b26d3c4695fe3125f9ff59d043d8ac57f53 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 3 Nov 2019 12:48:50 +0000 Subject: [PATCH] "GMT" -> "UTC" --- modules/user_time.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/user_time.py b/modules/user_time.py index 043f2d3f..7030ee4a 100644 --- a/modules/user_time.py +++ b/modules/user_time.py @@ -51,12 +51,12 @@ class Module(ModuleManager.BaseModule): if not timezone == None: dt = datetime.datetime.now(tz=pytz.timezone(timezone)) - gmt_offset = (dt.utcoffset().total_seconds()/60)/60 - tz = "GMT" - if not gmt_offset == 0.0: - if gmt_offset > 0: + utc_offset = (dt.utcoffset().total_seconds()/60)/60 + tz = "UTC" + if not utf_offset == 0.0: + if urc_offset > 0: tz += "+" - tz += "%g" % gmt_offset + tz += "%g" % utc_offset human = utils.datetime_human(dt) out = None