Preparing search index...

    Function filterRecipesByCurrentSeason

    • Filters recipes to only include those that are in season for the current month

      Uses the same seasonal logic as the main filtering system, checking if recipes contain the current month or are available year-round ('*').

      Parameters

      Returns recipeTableElement[]

      Array of recipes that are currently in season

      const seasonalRecipes = filterRecipesByCurrentSeason(allRecipes);
      console.log(`Found ${seasonalRecipes.length} seasonal recipes`);