mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 04:32:36 +01:00
Merge pull request #915 from nyuszika7h/tztime-remove-μs
Time.tztime: Don't display microseconds
This commit is contained in:
commit
51566fedb1
@ -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