def _hack_end_time_to_start_time(time: str) -> str:
    """ Take strings of the form '01:00:00' and substract unity from the houre"""
    hour = int(time[:2])
    return " %02d" % (hour - 1) + time[2:]