fix: jam/confiture opened shelf life in fridge 60→180 days
Both PHP and JS rules for opened confettura/marmellata in section G (fridge condiments) were returning 60 days — too short. An opened jar of jam lasts ~6 months in the fridge. Also: update README roadmap with comprehensive, grouped view matching the internal memory roadmap (high/medium/low/completed). Fixes: database.php line ~412, app.js line ~1707
This commit is contained in:
+1
-1
@@ -1704,7 +1704,7 @@ function estimateOpenedExpiryDays(product, location) {
|
||||
if (/\b(senape|mustard)\b/.test(name)) return 90;
|
||||
if (/salsa\s+di\s+soia|soy\s*sauce/.test(name)) return 90;
|
||||
if (/\b(tabasco|worcestershire|sriracha)\b/.test(name)) return 180;
|
||||
if (/confettura|marmellata/.test(name)) return 60;
|
||||
if (/confettura|marmellata/.test(name)) return 180;
|
||||
if (/nutella|cioccolat/.test(name)) return 60;
|
||||
|
||||
// ── H: Category fallbacks ────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user