From 7138953474b0c5d5c06738a9366e11b3e60f986e 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", -- 2.43.0