Spaces:
Sleeping
Sleeping
Sarat Chandra
commited on
Commit
•
63519dd
1
Parent(s):
5fd2dbd
"Corrected the Date Axis"
Browse files- templates/index.html +1 -1
templates/index.html
CHANGED
@@ -37,7 +37,7 @@
|
|
37 |
|
38 |
const past60DaysDates = Array.from({ length: 60 }, (_, i) => {
|
39 |
const pastDay = new Date(today);
|
40 |
-
pastDay.setDate(today.getDate() - i);
|
41 |
return pastDay.toISOString().split('T')[0]; // Extract the date in YYYY-MM-DD format
|
42 |
});
|
43 |
|
|
|
37 |
|
38 |
const past60DaysDates = Array.from({ length: 60 }, (_, i) => {
|
39 |
const pastDay = new Date(today);
|
40 |
+
pastDay.setDate(today.getDate() - 60 + i);
|
41 |
return pastDay.toISOString().split('T')[0]; // Extract the date in YYYY-MM-DD format
|
42 |
});
|
43 |
|