fix: disallow selecting dates in the past or today

This commit is contained in:
2026-08-12 13:38:08 +02:00
parent 54420cf25a
commit 192933c9b6
2 changed files with 12 additions and 6 deletions
+9 -4
View File
@@ -1,17 +1,22 @@
{
"activities": [
{ "name": "Essen bei Namaste", "icon": "🍛", "type": "short" },
{ "name": "Kinofilm", "icon": "🎬", "type": "long" },
{ "name": "Ins Kino", "icon": "🎬", "type": "short" },
{ "name": "Film zu Hause + Essen bestellen", "icon": "🛋️", "type": "long" },
{ "name": "Spaziergang im Wald", "icon": "🌲", "type": "short" },
{ "name": "Museum für Gegenwartskunst", "icon": "🖼️", "type": "long" },
{ "name": "Picknick auf der Wiese", "icon": "🧺", "type": "short" },
{ "name": "Massage zu Hause", "icon": "💆", "type": "short" }
{ "name": "Massage zu Hause", "icon": "💆", "type": "short" },
{ "name": "Ausgedehnte Wanderung", "icon": "🥾", "type": "long" }
],
"availableDates": [
{ "date": "2026-08-15", "type": "long" },
{ "date": "2026-08-16", "type": "short" },
{ "date": "2026-08-11", "type": "short" },
{ "date": "2026-08-15", "type": "short" },
{ "date": "2026-08-18", "type": "short" },
{ "date": "2026-08-20", "type": "short" },
{ "date": "2026-08-22", "type": "long" },
{ "date": "2026-08-23", "type": "long" },
{ "date": "2026-08-30", "type": "short" },
{ "date": "2026-09-05", "type": "long" },
{ "date": "2026-09-06", "type": "short" }