From a6d3d2656be6bd9d81b8eadc334111f8e5f8f211 Mon Sep 17 00:00:00 2001 From: Kartik sharma Date: Thu, 19 Jun 2025 16:57:57 +0530 Subject: [PATCH] Add the weekday name (e.g., Monday) when hovering over a data point in the Project. --- src/components/Dashboard/ProjectProgressChart.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Dashboard/ProjectProgressChart.jsx b/src/components/Dashboard/ProjectProgressChart.jsx index afc5e11d..6159dbc9 100644 --- a/src/components/Dashboard/ProjectProgressChart.jsx +++ b/src/components/Dashboard/ProjectProgressChart.jsx @@ -69,6 +69,7 @@ const ProjectProgressChart = () => { ); const lineChartCategoriesDates = sortedDashboardData.map((d) => new Date(d.date).toLocaleDateString("en-US", { + weekday:"short", month: "short", day: "numeric", year: "numeric",