def convert_time(self, dt):
        year, month, day, hour, minute, second = dt.utctimetuple()[:6]
        days = date(year, month, 1).toordinal() - _epoch_ord + day - 1
        hours = days * 24 + hour
        minutes = hours * 60 + minute
        seconds = minutes * 60 + second
        return seconds
Set the title on the underlying widget.
dataset/ETHPy150Open getlogbook/logbook/logbook/compat.py/LoggingHandler.convert_time--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_dock_item.py/QtDockItem.set_title