show topic timestamp in a more human readable format

This commit is contained in:
jesopo 2020-01-26 00:49:31 +00:00
parent 1d1e2d95a9
commit b83e066dad

View file

@ -197,7 +197,7 @@ class Module(ModuleManager.BaseModule):
self._on_topic(event, event["setter"].nickname, "set",
event["channel"].topic)
dt = utils.datetime.iso8601_format(
dt = utils.datetime.datetime_human(
utils.datetime.datetime_timestamp(event["set_at"]))
minimal = "topic set at %s" % dt