def td_format_seconds_6(td_object):
    """ Formats a 6-digit string from a timedelta object
        Hours -> seconds; input must be < 10h
        Returns 9h99.99
    """
    seconds = int(td_object.total_seconds())
    minutes, seconds = divmod(seconds, 60)
    hours, minutes = divmod(minutes, 60)

    msg = ''
    if hours != 0:
        msg += '{0:1d}h'.format(hours)
    if hours > 0:
        msg += '{0:02d}{1:02d}'.format(minutes, seconds)
    else:
        msg += "{0:2d}{1:02d}".format(minutes, seconds)

    return msg