fix: 🩹 YYYYMMDD with dashes

This commit is contained in:
ThatOneCalculator 2023-06-13 17:16:10 -07:00
parent beb96f7cff
commit 8151da6b6a
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ function formatDateToYYYYMMDD(date) {
const year = date.getFullYear();
const month = ("0" + (date.getMonth() + 1)).slice(-2);
const day = ("0" + date.getDate()).slice(-2);
return `${year}${month}${day}`;
return `${year}-${month}-${day}`;
}
async function openSearchFilters(ev) {