From 37d5c87a55a56bf9fae1861831cbe634184e04f7 Mon Sep 17 00:00:00 2001 From: poignatov Date: Mon, 9 Mar 2026 21:04:21 +0300 Subject: [PATCH] =?UTF-8?q?6.4.9:=20=D0=A1=D0=BA=D1=80=D1=8B=D1=82=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=B4=D0=B0=D1=82=D1=8B=20=D0=B4=D0=BB=D1=8F=20=D1=82?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D1=80=D0=BE=D0=B2=20=D1=81=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D1=88=D0=B5=D0=B4=D1=88=D0=B5=D0=B9=20=D0=B4=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- play-life-web/package.json | 2 +- play-life-web/src/components/ShoppingList.jsx | 9 +++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 4b20d97..a228920 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.4.8 +6.4.9 diff --git a/play-life-web/package.json b/play-life-web/package.json index 15588d6..ff7ae64 100644 --- a/play-life-web/package.json +++ b/play-life-web/package.json @@ -1,6 +1,6 @@ { "name": "play-life-web", - "version": "6.4.8", + "version": "6.4.9", "type": "module", "scripts": { "dev": "vite", diff --git a/play-life-web/src/components/ShoppingList.jsx b/play-life-web/src/components/ShoppingList.jsx index 4fd8299..5a4a6f5 100644 --- a/play-life-web/src/components/ShoppingList.jsx +++ b/play-life-web/src/components/ShoppingList.jsx @@ -577,8 +577,13 @@ function ShoppingList({ onNavigate, refreshTrigger = 0, isActive = false, initia {group.active.map(item => { let dateDisplay = null if (item.next_show_at) { - dateDisplay = formatDateForDisplay(item.next_show_at) - if (dateDisplay === 'Сегодня') dateDisplay = null + const itemDate = new Date(item.next_show_at) + const now = new Date() + now.setHours(0, 0, 0, 0) + const target = new Date(itemDate.getFullYear(), itemDate.getMonth(), itemDate.getDate()) + if (target > now) { + dateDisplay = formatDateForDisplay(item.next_show_at) + } } return (