def basal_time(raw): midnight = clocks(0, 0) offset = relativedelta.relativedelta(minutes=30 * raw) start = midnight.replace(hour=offset.hours, minute=offset.minutes) return start
def basal_time (raw): midnight = clocks(0, 0) offset = relativedelta.relativedelta(minutes=30*raw) start = midnight.replace(hour=offset.hours, minute=offset.minutes) return start