diff --git a/ics.php b/ics.php index c62b8bd..e798f10 100644 --- a/ics.php +++ b/ics.php @@ -99,12 +99,13 @@ function showresult() { recent = 7; } + var html = "
En gras: modifié les " + recent + " derniers jours
"; var o = ics2json(xhr.responseText); - var lastweek = new Date(); - lastweek.setDate(lastweek.getDate() - recent); + var lastmodified = new Date(); + lastmodified.setDate(lastmodified.getDate() - recent); var group = {}; o.VEVENTS @@ -129,7 +130,7 @@ function showresult() } var line = `