mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 05:17:39 -07:00
fix: 🩹 YYYYMMDD with dashes
This commit is contained in:
parent
8f7eedc784
commit
6de344c7a3
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ function formatDateToYYYYMMDD(date) {
|
||||||
const year = date.getFullYear();
|
const year = date.getFullYear();
|
||||||
const month = ("0" + (date.getMonth() + 1)).slice(-2);
|
const month = ("0" + (date.getMonth() + 1)).slice(-2);
|
||||||
const day = ("0" + date.getDate()).slice(-2);
|
const day = ("0" + date.getDate()).slice(-2);
|
||||||
return `${year}${month}${day}`;
|
return `${year}-${month}-${day}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function openSearchFilters(ev) {
|
async function openSearchFilters(ev) {
|
||||||
|
|
Loading…
Reference in a new issue