Global code cleanup

This commit is contained in:
NaNoMelo
2024-10-15 21:41:18 +02:00
committed by imperosol
parent 09dbda87bc
commit ee19dc01f6
4 changed files with 58 additions and 55 deletions

View File

@ -50,7 +50,7 @@
window.addEventListener("DOMContentLoaded", () => {
loadChart({
canvas: document.getElementById("activityGraph"),
startDate: new Date().setDate(new Date().getDate() - 7),
startDate: new Date(new Date().setDate(new Date().getDate() - 7)),
counterId: {{ counter.id }},
});
});