how many times can i typo "utc"
This commit is contained in:
parent
352f6b26d3
commit
9de95d17e5
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue