Exemple #1
0
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
Exemple #2
0
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