def fill_entries(lst, ms, hrs): if len(lst) < last_month_hrs: lst.extend([str(utils.add_hrs(j, ms)), [0, 0]] for j in range(len(lst), last_month_hrs)) return lst
def idx2ts(i, ms): return utils.add_hrs(i, ms)