Add the weekday name (e.g., Monday) when hovering over a data point in the Project.

This commit is contained in:
Kartik sharma 2025-06-19 16:57:57 +05:30 committed by Vikas Nale
parent cffa683b20
commit a6d3d2656b

View File

@ -69,6 +69,7 @@ const ProjectProgressChart = () => {
); );
const lineChartCategoriesDates = sortedDashboardData.map((d) => const lineChartCategoriesDates = sortedDashboardData.map((d) =>
new Date(d.date).toLocaleDateString("en-US", { new Date(d.date).toLocaleDateString("en-US", {
weekday:"short",
month: "short", month: "short",
day: "numeric", day: "numeric",
year: "numeric", year: "numeric",