Time.tztime: Don't display microseconds

There's no reason for displaying them under most circumstances that I
can think of.
This commit is contained in:
nyuszika7h 2014-11-24 18:32:56 +01:00
parent 283cdb3b1d
commit b697536db5

View File

@ -191,7 +191,7 @@ class Time(callbacks.Plugin):
except pytz.UnknownTimeZoneError:
irc.error(_('Unknown timezone'))
return
irc.reply(str(datetime.now(timezone)))
irc.reply(datetime.now(timezone).strftime('%F %T%z'))
tztime = wrap(tztime, ['text'])