docs: def get_day_end(config):
      """
      Get the day end time given the day start. This assumes full 24h day.
  
      Args:
          config (dict): Configdict. Needed to extract ``day_start``.
  
      Note:
          This is merely a convinience funtion so we do not have to deduct this from ``day_start``
          by hand all the time.
      """
      day_start_datetime = datetime.datetime.combine(datetime.date.today(), config['day_start'])
      day_end_datetime = day_start_datetime - datetime.timedelta(seconds=1)
      return day_end_datetime.time()