diff --git a/web/src/views/Dashboard.tsx b/web/src/views/Dashboard.tsx index 3c8fd42..9b64b26 100644 --- a/web/src/views/Dashboard.tsx +++ b/web/src/views/Dashboard.tsx @@ -40,7 +40,8 @@ export function Dashboard({ const lowBulk = stats.lowStockBulk; const lowDiscrete = stats.lowStockDiscreteGroups; - const todayDate = new Date(data.today || TODAY_STR); + const todayStr = data.today || TODAY_STR; + const todayDate = new Date(todayStr + "T00:00:00"); const greetingDate = todayDate.toLocaleDateString("en-US", { weekday: "long", month: "long",