From 765fb986223f199ca2ae422abe3dd7e971c56abc Mon Sep 17 00:00:00 2001 From: gocivici Date: Sun, 20 Aug 2023 15:25:25 +0300 Subject: [PATCH] fixed archive error --- main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/main.js b/main.js index ecc38ea..31ee4ba 100644 --- a/main.js +++ b/main.js @@ -1503,6 +1503,7 @@ function getArchive(j,d = dayCount){ for (var i = 0; i < dates.length; i++) { dates[i].classList.remove('current'); } + present_date.setYear(2022); present_date.setMonth(9,j); // present_date.setDate(j); console.log(present_date);