Add the weekday name (e.g., Monday) when hovering over a data point in the Project.
This commit is contained in:
parent
cffa683b20
commit
a6d3d2656b
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user