def get_recipes_for_day(request, day):
    """
    Filters the choices of the user by date
    and returns the recipes chosen for that day
    :param day: datetime instance
    :return: list of recipes
    """
    user = request.user
    choices_for_day = user.choice_set.filter(date=day)
    recipes = []
    if choices_for_day:
        recipes = [ch.recipe for ch in choices_for_day]
    return recipes