mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
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:
parent
283cdb3b1d
commit
b697536db5
@ -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'])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user